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
[ 32, 8, 60, 32 ]
52
[ "32+8=40", "60+32=92", "92-40=52" ]
Current State: 52:[32, 8, 60, 32], Operations: [] Exploring Operation: 32+8=40, Resulting Numbers: [60, 40] Generated Node #2: [60, 40] from Operation: 32+8=40 Current State: 52:[60, 40], Operations: ['32+8=40'] Exploring Operation: 60+32=92, Resulting Numbers: [40, 92] Generated Node #3: [40, 92] from Operation: 60+32=92 Current State: 52:[40, 92], Operations: ['32+8=40', '60+32=92'] Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[32, 8, 60, 32], Operations: [] Exploring Operation: 60-32=28, Resulting Numbers: [8, 32, 28] Generated Node #0,0: 52:[8, 32, 28] Operation: 60-32=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[8, 32, 28], Operations: ['60-32=28'] Exploring Operation: 32/8=4, Resulting Numbers: [28, 4] Generated Node #0,0,0: 52:[28, 4] Operation: 32/8=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[28, 4], Operations: ['60-32=28', '32/8=4'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,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_1
sum_heuristic
[ 27, 65, 68, 4 ]
84
[ "65-27=38", "4*38=152", "152-68=84" ]
Current State: 84:[27, 65, 68, 4], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [68, 4, 38] Generated Node #2: [68, 4, 38] from Operation: 65-27=38 Current State: 84:[68, 4, 38], Operations: ['65-27=38'] Exploring Operation: 4*38=152, Resulting Numbers: [68, 152] Generated Node #3: [68, 152] from Operation: 4*38=152 Current State: 84:[68, 152], Operations: ['65-27=38', '4*38=152'] Exploring Operation: 152-68=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[27, 65, 68, 4], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [27, 4, 3] Generated Node #0,0: 84:[27, 4, 3] Operation: 68-65=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[27, 4, 3], Operations: ['68-65=3'] Exploring Operation: 4+3=7, Resulting Numbers: [27, 7] Generated Node #0,0,0: 84:[27, 7] Operation: 4+3=7 Moving to Node #0,0,0 Current State: 84:[27, 7], Operations: ['68-65=3', '4+3=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 68, 23, 21, 20 ]
54
[ "23-21=2", "68/2=34", "20+34=54" ]
Current State: 54:[68, 23, 21, 20], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [68, 20, 2] Generated Node #2: [68, 20, 2] from Operation: 23-21=2 Current State: 54:[68, 20, 2], Operations: ['23-21=2'] Exploring Operation: 68/2=34, Resulting Numbers: [20, 34] Generated Node #3: [20, 34] from Operation: 68/2=34 Current State: 54:[20, 34], Operations: ['23-21=2', '68/2=34'] Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[68, 23, 21, 20], Operations: [] Exploring Operation: 68-20=48, Resulting Numbers: [23, 21, 48] Generated Node #0,0: 54:[23, 21, 48] Operation: 68-20=48 Exploring Operation: 23-21=2, Resulting Numbers: [68, 20, 2] Generated Node #0,1: 54:[68, 20, 2] Operation: 23-21=2 Exploring Operation: 68-23=45, Resulting Numbers: [21, 20, 45] Generated Node #0,2: 54:[21, 20, 45] Operation: 68-23=45 Exploring Operation: 68-21=47, Resulting Numbers: [23, 20, 47] Generated Node #0,3: 54:[23, 20, 47] Operation: 68-21=47 Moving to Node #0,0 Current State: 54:[23, 21, 48], Operations: ['68-20=48'] Exploring Operation: 23+21=44, Resulting Numbers: [48, 44] Generated Node #0,0,0: 54:[48, 44] Operation: 23+21=44 Exploring Operation: 48-23=25, Resulting Numbers: [21, 25] Generated Node #0,0,1: 54:[21, 25] Operation: 48-23=25 Exploring Operation: 23-21=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 54:[48, 2] Operation: 23-21=2 Exploring Operation: 48-21=27, Resulting Numbers: [23, 27] Generated Node #0,0,3: 54:[23, 27] Operation: 48-21=27 Moving to Node #0,3 Current State: 54:[23, 20, 47], Operations: ['68-21=47'] Exploring Operation: 23-20=3, Resulting Numbers: [47, 3] Generated Node #0,3,0: 54:[47, 3] Operation: 23-20=3 Exploring Operation: 47-23=24, Resulting Numbers: [20, 24] Generated Node #0,3,1: 54:[20, 24] Operation: 47-23=24 Exploring Operation: 47-20=27, Resulting Numbers: [23, 27] Generated Node #0,3,2: 54:[23, 27] Operation: 47-20=27 Exploring Operation: 20+47=67, Resulting Numbers: [23, 67] Generated Node #0,3,3: 54:[23, 67] Operation: 20+47=67 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[23, 27], Operations: ['68-21=47', '47-20=27'] Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,54 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[20, 24], Operations: ['68-21=47', '47-23=24'] Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[47, 3], Operations: ['68-21=47', '23-20=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[23, 67], Operations: ['68-21=47', '20+47=67'] Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,54 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,54 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: 54:[21, 20, 45], Operations: ['68-23=45'] Exploring Operation: 21+45=66, Resulting Numbers: [20, 66] Generated Node #0,2,0: 54:[20, 66] Operation: 21+45=66 Exploring Operation: 21-20=1, Resulting Numbers: [45, 1] Generated Node #0,2,1: 54:[45, 1] Operation: 21-20=1 Exploring Operation: 45-21=24, Resulting Numbers: [20, 24] Generated Node #0,2,2: 54:[20, 24] Operation: 45-21=24 Exploring Operation: 45-20=25, Resulting Numbers: [21, 25] Generated Node #0,2,3: 54:[21, 25] Operation: 45-20=25 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[20, 24], Operations: ['68-23=45', '45-21=24'] Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,54 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[21, 25], Operations: ['68-23=45', '45-20=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,54 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[45, 1], Operations: ['68-23=45', '21-20=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[20, 66], Operations: ['68-23=45', '21+45=66'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,54 unequal: No Solution Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,54 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: 54:[68, 20, 2], Operations: ['23-21=2'] Exploring Operation: 68/2=34, Resulting Numbers: [20, 34] Generated Node #0,1,0: 54:[20, 34] Operation: 68/2=34 Exploring Operation: 68-2=66, Resulting Numbers: [20, 66] Generated Node #0,1,1: 54:[20, 66] Operation: 68-2=66 Exploring Operation: 20-2=18, Resulting Numbers: [68, 18] Generated Node #0,1,2: 54:[68, 18] Operation: 20-2=18 Exploring Operation: 68-20=48, Resulting Numbers: [2, 48] Generated Node #0,1,3: 54:[2, 48] Operation: 68-20=48 Moving to Node #0,0,3 Current State: 54:[23, 27], Operations: ['68-20=48', '48-21=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,54 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[21, 25], Operations: ['68-20=48', '48-23=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[48, 2], Operations: ['68-20=48', '23-21=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[2, 48], Operations: ['23-21=2', '68-20=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,54 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[20, 34], Operations: ['23-21=2', '68/2=34'] Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,54 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[68, 23, 21, 20], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [68, 20, 2] Generated Node #0,1: 54:[68, 20, 2] Operation: 23-21=2 Moving to Node #0,1 Current State: 54:[68, 20, 2], Operations: ['23-21=2'] Exploring Operation: 68/2=34, Resulting Numbers: [20, 34] Generated Node #0,1,0: 54:[20, 34] Operation: 68/2=34 Moving to Node #0,1,0 Current State: 54:[20, 34], Operations: ['23-21=2', '68/2=34'] Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.943576
hs_4
sum_heuristic
[ 18, 6, 86, 62 ]
27
[ "18/6=3", "86-62=24", "3+24=27" ]
Current State: 27:[18, 6, 86, 62], Operations: [] Exploring Operation: 18/6=3, Resulting Numbers: [86, 62, 3] Generated Node #2: [86, 62, 3] from Operation: 18/6=3 Current State: 27:[86, 62, 3], Operations: ['18/6=3'] Exploring Operation: 86-62=24, Resulting Numbers: [3, 24] Generated Node #3: [3, 24] from Operation: 86-62=24 Current State: 27:[3, 24], Operations: ['18/6=3', '86-62=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[18, 6, 86, 62], Operations: [] Exploring Operation: 18/6=3, Resulting Numbers: [86, 62, 3] Generated Node #0,0: 27:[86, 62, 3] Operation: 18/6=3 Exploring Operation: 62-18=44, Resulting Numbers: [6, 86, 44] Generated Node #0,1: 27:[6, 86, 44] Operation: 62-18=44 Exploring Operation: 18+6=24, Resulting Numbers: [86, 62, 24] Generated Node #0,2: 27:[86, 62, 24] Operation: 18+6=24 Exploring Operation: 86-18=68, Resulting Numbers: [6, 62, 68] Generated Node #0,3: 27:[6, 62, 68] Operation: 86-18=68 Exploring Operation: 86-62=24, Resulting Numbers: [18, 6, 24] Generated Node #0,4: 27:[18, 6, 24] Operation: 86-62=24 Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[18, 6, 24], Operations: ['86-62=24'] Exploring Operation: 18+6=24, Resulting Numbers: [24, 24] Generated Node #0,4,0: 27:[24, 24] Operation: 18+6=24 Exploring Operation: 24-18=6, Resulting Numbers: [6, 6] Generated Node #0,4,1: 27:[6, 6] Operation: 24-18=6 Exploring Operation: 18/6=3, Resulting Numbers: [24, 3] Generated Node #0,4,2: 27:[24, 3] Operation: 18/6=3 Exploring Operation: 24/6=4, Resulting Numbers: [18, 4] Generated Node #0,4,3: 27:[18, 4] Operation: 24/6=4 Exploring Operation: 18-6=12, Resulting Numbers: [24, 12] Generated Node #0,4,4: 27:[24, 12] Operation: 18-6=12 Moving to Node #0,4,2 Current State: 27:[24, 3], Operations: ['86-62=24', '18/6=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[18, 6, 86, 62], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [18, 6, 24] Generated Node #0,4: 27:[18, 6, 24] Operation: 86-62=24 Moving to Node #0,4 Current State: 27:[18, 6, 24], Operations: ['86-62=24'] Exploring Operation: 18/6=3, Resulting Numbers: [24, 3] Generated Node #0,4,2: 27:[24, 3] Operation: 18/6=3 Moving to Node #0,4,2 Current State: 27:[24, 3], Operations: ['86-62=24', '18/6=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 70, 34, 2, 38 ]
34
[ "70-34=36", "2*36=72", "72-38=34" ]
Current State: 34:[70, 34, 2, 38], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [2, 38, 36] Generated Node #2: [2, 38, 36] from Operation: 70-34=36 Current State: 34:[2, 38, 36], Operations: ['70-34=36'] Exploring Operation: 2*36=72, Resulting Numbers: [38, 72] Generated Node #3: [38, 72] from Operation: 2*36=72 Current State: 34:[38, 72], Operations: ['70-34=36', '2*36=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[70, 34, 2, 38], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [34, 2, 32] Generated Node #0,0: 34:[34, 2, 32] Operation: 70-38=32 Exploring Operation: 70/2=35, Resulting Numbers: [34, 38, 35] Generated Node #0,1: 34:[34, 38, 35] Operation: 70/2=35 Exploring Operation: 70-34=36, Resulting Numbers: [2, 38, 36] Generated Node #0,2: 34:[2, 38, 36] Operation: 70-34=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[34, 2, 32], Operations: ['70-38=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 34:[34, 34] Operation: 2+32=34 Exploring Operation: 32/2=16, Resulting Numbers: [34, 16] Generated Node #0,0,1: 34:[34, 16] Operation: 32/2=16 Exploring Operation: 34-32=2, Resulting Numbers: [2, 2] Generated Node #0,0,2: 34:[2, 2] Operation: 34-32=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[34, 34], Operations: ['70-38=32', '2+32=34'] Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,34 unequal: No Solution No 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: 34:[2, 2], Operations: ['70-38=32', '34-32=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,34 unequal: No Solution No 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: 34:[34, 16], Operations: ['70-38=32', '32/2=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,34 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: 34:[34, 38, 35], Operations: ['70/2=35'] Exploring Operation: 35-34=1, Resulting Numbers: [38, 1] Generated Node #0,1,0: 34:[38, 1] Operation: 35-34=1 Exploring Operation: 38-35=3, Resulting Numbers: [34, 3] Generated Node #0,1,1: 34:[34, 3] Operation: 38-35=3 Exploring Operation: 38-34=4, Resulting Numbers: [35, 4] Generated Node #0,1,2: 34:[35, 4] Operation: 38-34=4 Moving to Node #0,1,1 Current State: 34:[34, 3], Operations: ['70/2=35', '38-35=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[35, 4], Operations: ['70/2=35', '38-34=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[38, 1], Operations: ['70/2=35', '35-34=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[2, 38, 36], Operations: ['70-34=36'] Exploring Operation: 38/2=19, Resulting Numbers: [36, 19] Generated Node #0,2,0: 34:[36, 19] Operation: 38/2=19 Exploring Operation: 38-2=36, Resulting Numbers: [36, 36] Generated Node #0,2,1: 34:[36, 36] Operation: 38-2=36 Exploring Operation: 38-36=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 34:[2, 2] Operation: 38-36=2 Moving to Node #0,2,2 Current State: 34:[2, 2], Operations: ['70-34=36', '38-36=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[36, 19], Operations: ['70-34=36', '38/2=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,34 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[36, 36], Operations: ['70-34=36', '38-2=36'] Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 15, 13, 21, 4 ]
17
[ "21-13=8", "4*8=32", "32-15=17" ]
Current State: 17:[15, 13, 21, 4], Operations: [] Exploring Operation: 21-13=8, Resulting Numbers: [15, 4, 8] Generated Node #2: [15, 4, 8] from Operation: 21-13=8 Current State: 17:[15, 4, 8], Operations: ['21-13=8'] Exploring Operation: 4*8=32, Resulting Numbers: [15, 32] Generated Node #3: [15, 32] from Operation: 4*8=32 Current State: 17:[15, 32], Operations: ['21-13=8', '4*8=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[15, 13, 21, 4], Operations: [] Exploring Operation: 13+4=17, Resulting Numbers: [15, 21, 17] Generated Node #0,0: 17:[15, 21, 17] Operation: 13+4=17 Exploring Operation: 21-4=17, Resulting Numbers: [15, 13, 17] Generated Node #0,1: 17:[15, 13, 17] Operation: 21-4=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[15, 21, 17], Operations: ['13+4=17'] Exploring Operation: 21-17=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 17:[15, 4] Operation: 21-17=4 Exploring Operation: 21-15=6, Resulting Numbers: [17, 6] Generated Node #0,0,1: 17:[17, 6] Operation: 21-15=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[17, 6], Operations: ['13+4=17', '21-15=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,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:[15, 4], Operations: ['13+4=17', '21-17=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,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:[15, 13, 17], Operations: ['21-4=17'] Exploring Operation: 15+13=28, Resulting Numbers: [17, 28] Generated Node #0,1,0: 17:[17, 28] Operation: 15+13=28 Exploring Operation: 15-13=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 17:[17, 2] Operation: 15-13=2 Moving to Node #0,1,0 Current State: 17:[17, 28], Operations: ['21-4=17', '15+13=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[17, 2], Operations: ['21-4=17', '15-13=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,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
[ 11, 5, 41, 86 ]
99
[ "86-41=45", "11*45=495", "495/5=99" ]
Current State: 99:[11, 5, 41, 86], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [11, 5, 45] Generated Node #2: [11, 5, 45] from Operation: 86-41=45 Current State: 99:[11, 5, 45], Operations: ['86-41=45'] Exploring Operation: 11*45=495, Resulting Numbers: [5, 495] Generated Node #3: [5, 495] from Operation: 11*45=495 Current State: 99:[5, 495], Operations: ['86-41=45', '11*45=495'] Exploring Operation: 495/5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[11, 5, 41, 86], Operations: [] Exploring Operation: 11+86=97, Resulting Numbers: [5, 41, 97] Generated Node #0,0: 99:[5, 41, 97] Operation: 11+86=97 Exploring Operation: 86-41=45, Resulting Numbers: [11, 5, 45] Generated Node #0,1: 99:[11, 5, 45] Operation: 86-41=45 Exploring Operation: 5+86=91, Resulting Numbers: [11, 41, 91] Generated Node #0,2: 99:[11, 41, 91] Operation: 5+86=91 Exploring Operation: 41-5=36, Resulting Numbers: [11, 86, 36] Generated Node #0,3: 99:[11, 86, 36] Operation: 41-5=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[5, 41, 97], Operations: ['11+86=97'] Exploring Operation: 5+41=46, Resulting Numbers: [97, 46] Generated Node #0,0,0: 99:[97, 46] Operation: 5+41=46 Exploring Operation: 41-5=36, Resulting Numbers: [97, 36] Generated Node #0,0,1: 99:[97, 36] Operation: 41-5=36 Exploring Operation: 5+97=102, Resulting Numbers: [41, 102] Generated Node #0,0,2: 99:[41, 102] Operation: 5+97=102 Exploring Operation: 97-5=92, Resulting Numbers: [41, 92] Generated Node #0,0,3: 99:[41, 92] Operation: 97-5=92 Moving to Node #0,0,1 Current State: 99:[97, 36], Operations: ['11+86=97', '41-5=36'] Exploring Operation: 97+36=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 97*36=3492, Resulting Numbers: [3492] 3492,99 unequal: No Solution Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[41, 102], Operations: ['11+86=97', '5+97=102'] Exploring Operation: 41+102=143, Resulting Numbers: [143] 143,99 unequal: No Solution Exploring Operation: 41*102=4182, Resulting Numbers: [4182] 4182,99 unequal: No Solution Exploring Operation: 102-41=61, Resulting Numbers: [61] 61,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[41, 92], Operations: ['11+86=97', '97-5=92'] Exploring Operation: 41*92=3772, Resulting Numbers: [3772] 3772,99 unequal: No Solution Exploring Operation: 41+92=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[97, 46], Operations: ['11+86=97', '5+41=46'] Exploring Operation: 97+46=143, Resulting Numbers: [143] 143,99 unequal: No Solution Exploring Operation: 97*46=4462, Resulting Numbers: [4462] 4462,99 unequal: No Solution Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,99 unequal: No Solution No 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: 99:[11, 5, 45], Operations: ['86-41=45'] Exploring Operation: 45/5=9, Resulting Numbers: [11, 9] Generated Node #0,1,0: 99:[11, 9] Operation: 45/5=9 Exploring Operation: 45-11=34, Resulting Numbers: [5, 34] Generated Node #0,1,1: 99:[5, 34] Operation: 45-11=34 Exploring Operation: 11-5=6, Resulting Numbers: [45, 6] Generated Node #0,1,2: 99:[45, 6] Operation: 11-5=6 Exploring Operation: 45-5=40, Resulting Numbers: [11, 40] Generated Node #0,1,3: 99:[11, 40] Operation: 45-5=40 Moving to Node #0,1,0 Current State: 99:[11, 9], Operations: ['86-41=45', '45/5=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[11, 5, 41, 86], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [11, 5, 45] Generated Node #0,1: 99:[11, 5, 45] Operation: 86-41=45 Moving to Node #0,1 Current State: 99:[11, 5, 45], Operations: ['86-41=45'] Exploring Operation: 45/5=9, Resulting Numbers: [11, 9] Generated Node #0,1,0: 99:[11, 9] Operation: 45/5=9 Moving to Node #0,1,0 Current State: 99:[11, 9], Operations: ['86-41=45', '45/5=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 76, 17, 66, 66 ]
93
[ "76+17=93", "66-66=0", "93+0=93" ]
Current State: 93:[76, 17, 66, 66], Operations: [] Exploring Operation: 76+17=93, Resulting Numbers: [66, 66, 93] Generated Node #2: [66, 66, 93] from Operation: 76+17=93 Current State: 93:[66, 66, 93], Operations: ['76+17=93'] Exploring Operation: 66-66=0, Resulting Numbers: [93, 0] Generated Node #3: [93, 0] from Operation: 66-66=0 Current State: 93:[93, 0], Operations: ['76+17=93', '66-66=0'] Exploring Operation: 93+0=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[76, 17, 66, 66], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [76, 17, 1] Generated Node #0,0: 93:[76, 17, 1] Operation: 66/66=1 Exploring Operation: 66-66=0, Resulting Numbers: [76, 17, 0] Generated Node #0,1: 93:[76, 17, 0] Operation: 66-66=0 Moving to Node #0,0 Current State: 93:[76, 17, 1], Operations: ['66/66=1'] Exploring Operation: 76+17=93, Resulting Numbers: [1, 93] Generated Node #0,0,0: 93:[1, 93] Operation: 76+17=93 Exploring Operation: 76-17=59, Resulting Numbers: [1, 59] Generated Node #0,0,1: 93:[1, 59] Operation: 76-17=59 Moving to Node #0,1 Current State: 93:[76, 17, 0], Operations: ['66-66=0'] Exploring Operation: 76+17=93, Resulting Numbers: [0, 93] Generated Node #0,1,0: 93:[0, 93] Operation: 76+17=93 Exploring Operation: 76*0=0, Resulting Numbers: [17, 0] Generated Node #0,1,1: 93:[17, 0] Operation: 76*0=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[0, 93], Operations: ['66-66=0', '76+17=93'] Exploring Operation: 0+93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[76, 17, 66, 66], Operations: [] Exploring Operation: 66-66=0, Resulting Numbers: [76, 17, 0] Generated Node #0,1: 93:[76, 17, 0] Operation: 66-66=0 Moving to Node #0,1 Current State: 93:[76, 17, 0], Operations: ['66-66=0'] Exploring Operation: 76+17=93, Resulting Numbers: [0, 93] Generated Node #0,1,0: 93:[0, 93] Operation: 76+17=93 Moving to Node #0,1,0 Current State: 93:[0, 93], Operations: ['66-66=0', '76+17=93'] Exploring Operation: 0+93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 60, 89, 48, 55 ]
57
[ "89+55=144", "144/48=3", "60-3=57" ]
Current State: 57:[60, 89, 48, 55], Operations: [] Exploring Operation: 89+55=144, Resulting Numbers: [60, 48, 144] Generated Node #2: [60, 48, 144] from Operation: 89+55=144 Current State: 57:[60, 48, 144], Operations: ['89+55=144'] Exploring Operation: 144/48=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 144/48=3 Current State: 57:[60, 3], Operations: ['89+55=144', '144/48=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[60, 89, 48, 55], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [60, 55, 41] Generated Node #0,0: 57:[60, 55, 41] Operation: 89-48=41 Exploring Operation: 89-60=29, Resulting Numbers: [48, 55, 29] Generated Node #0,1: 57:[48, 55, 29] Operation: 89-60=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[60, 55, 41], Operations: ['89-48=41'] Exploring Operation: 60-41=19, Resulting Numbers: [55, 19] Generated Node #0,0,0: 57:[55, 19] Operation: 60-41=19 Exploring Operation: 55-41=14, Resulting Numbers: [60, 14] Generated Node #0,0,1: 57:[60, 14] Operation: 55-41=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[55, 19], Operations: ['89-48=41', '60-41=19'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,57 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[60, 14], Operations: ['89-48=41', '55-41=14'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,57 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: 57:[48, 55, 29], Operations: ['89-60=29'] Exploring Operation: 55-48=7, Resulting Numbers: [29, 7] Generated Node #0,1,0: 57:[29, 7] Operation: 55-48=7 Exploring Operation: 48-29=19, Resulting Numbers: [55, 19] Generated Node #0,1,1: 57:[55, 19] Operation: 48-29=19 Moving to Node #0,1,1 Current State: 57:[55, 19], Operations: ['89-60=29', '48-29=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,57 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[29, 7], Operations: ['89-60=29', '55-48=7'] Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,57 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,57 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
[ 7, 10, 14, 99 ]
69
[ "10+14=24", "7*24=168", "168-99=69" ]
Current State: 69:[7, 10, 14, 99], Operations: [] Exploring Operation: 10+14=24, Resulting Numbers: [7, 99, 24] Generated Node #2: [7, 99, 24] from Operation: 10+14=24 Current State: 69:[7, 99, 24], Operations: ['10+14=24'] Exploring Operation: 7*24=168, Resulting Numbers: [99, 168] Generated Node #3: [99, 168] from Operation: 7*24=168 Current State: 69:[99, 168], Operations: ['10+14=24', '7*24=168'] Exploring Operation: 168-99=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[7, 10, 14, 99], Operations: [] Exploring Operation: 99-14=85, Resulting Numbers: [7, 10, 85] Generated Node #0,0: 69:[7, 10, 85] Operation: 99-14=85 Exploring Operation: 99-10=89, Resulting Numbers: [7, 14, 89] Generated Node #0,1: 69:[7, 14, 89] Operation: 99-10=89 Moving to Node #0,0 Current State: 69:[7, 10, 85], Operations: ['99-14=85'] Exploring Operation: 85-10=75, Resulting Numbers: [7, 75] Generated Node #0,0,0: 69:[7, 75] Operation: 85-10=75 Exploring Operation: 10-7=3, Resulting Numbers: [85, 3] Generated Node #0,0,1: 69:[85, 3] Operation: 10-7=3 Moving to Node #0,1 Current State: 69:[7, 14, 89], Operations: ['99-10=89'] Exploring Operation: 14/7=2, Resulting Numbers: [89, 2] Generated Node #0,1,0: 69:[89, 2] Operation: 14/7=2 Exploring Operation: 89-14=75, Resulting Numbers: [7, 75] Generated Node #0,1,1: 69:[7, 75] Operation: 89-14=75 Moving to Node #0,0,0 Current State: 69:[7, 75], Operations: ['99-14=85', '85-10=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[7, 75], Operations: ['99-10=89', '89-14=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[85, 3], Operations: ['99-14=85', '10-7=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[89, 2], Operations: ['99-10=89', '14/7=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,69 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 70, 9, 16 ]
99
[ "22+70=92", "16-9=7", "92+7=99" ]
Current State: 99:[22, 70, 9, 16], Operations: [] Exploring Operation: 22+70=92, Resulting Numbers: [9, 16, 92] Generated Node #2: [9, 16, 92] from Operation: 22+70=92 Current State: 99:[9, 16, 92], Operations: ['22+70=92'] Exploring Operation: 16-9=7, Resulting Numbers: [92, 7] Generated Node #3: [92, 7] from Operation: 16-9=7 Current State: 99:[92, 7], Operations: ['22+70=92', '16-9=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[22, 70, 9, 16], Operations: [] Exploring Operation: 22+70=92, Resulting Numbers: [9, 16, 92] Generated Node #0,0: 99:[9, 16, 92] Operation: 22+70=92 Exploring Operation: 70-22=48, Resulting Numbers: [9, 16, 48] Generated Node #0,1: 99:[9, 16, 48] Operation: 70-22=48 Moving to Node #0,0 Current State: 99:[9, 16, 92], Operations: ['22+70=92'] Exploring Operation: 16-9=7, Resulting Numbers: [92, 7] Generated Node #0,0,0: 99:[92, 7] Operation: 16-9=7 Exploring Operation: 9+92=101, Resulting Numbers: [16, 101] Generated Node #0,0,1: 99:[16, 101] Operation: 9+92=101 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[16, 101], Operations: ['22+70=92', '9+92=101'] Exploring Operation: 101-16=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 16+101=117, Resulting Numbers: [117] 117,99 unequal: No Solution No 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: 99:[92, 7], Operations: ['22+70=92', '16-9=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[22, 70, 9, 16], Operations: [] Exploring Operation: 22+70=92, Resulting Numbers: [9, 16, 92] Generated Node #0,0: 99:[9, 16, 92] Operation: 22+70=92 Moving to Node #0,0 Current State: 99:[9, 16, 92], Operations: ['22+70=92'] Exploring Operation: 16-9=7, Resulting Numbers: [92, 7] Generated Node #0,0,0: 99:[92, 7] Operation: 16-9=7 Moving to Node #0,0,0 Current State: 99:[92, 7], Operations: ['22+70=92', '16-9=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 27, 6, 2, 72 ]
57
[ "27-6=21", "72/2=36", "21+36=57" ]
Current State: 57:[27, 6, 2, 72], Operations: [] Exploring Operation: 27-6=21, Resulting Numbers: [2, 72, 21] Generated Node #2: [2, 72, 21] from Operation: 27-6=21 Current State: 57:[2, 72, 21], Operations: ['27-6=21'] Exploring Operation: 72/2=36, Resulting Numbers: [21, 36] Generated Node #3: [21, 36] from Operation: 72/2=36 Current State: 57:[21, 36], Operations: ['27-6=21', '72/2=36'] Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[27, 6, 2, 72], Operations: [] Exploring Operation: 27*2=54, Resulting Numbers: [6, 72, 54] Generated Node #0,0: 57:[6, 72, 54] Operation: 27*2=54 Exploring Operation: 72-6=66, Resulting Numbers: [27, 2, 66] Generated Node #0,1: 57:[27, 2, 66] Operation: 72-6=66 Exploring Operation: 72/6=12, Resulting Numbers: [27, 2, 12] Generated Node #0,2: 57:[27, 2, 12] Operation: 72/6=12 Exploring Operation: 72-27=45, Resulting Numbers: [6, 2, 45] Generated Node #0,3: 57:[6, 2, 45] Operation: 72-27=45 Exploring Operation: 27-6=21, Resulting Numbers: [2, 72, 21] Generated Node #0,4: 57:[2, 72, 21] Operation: 27-6=21 Moving to Node #0,2 Current State: 57:[27, 2, 12], Operations: ['72/6=12'] Exploring Operation: 27*2=54, Resulting Numbers: [12, 54] Generated Node #0,2,0: 57:[12, 54] Operation: 27*2=54 Exploring Operation: 2+12=14, Resulting Numbers: [27, 14] Generated Node #0,2,1: 57:[27, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [27, 6] Generated Node #0,2,2: 57:[27, 6] Operation: 12/2=6 Exploring Operation: 27-12=15, Resulting Numbers: [2, 15] Generated Node #0,2,3: 57:[2, 15] Operation: 27-12=15 Exploring Operation: 27-2=25, Resulting Numbers: [12, 25] Generated Node #0,2,4: 57:[12, 25] Operation: 27-2=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[2, 15], Operations: ['72/6=12', '27-12=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,57 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[12, 54], Operations: ['72/6=12', '27*2=54'] Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,57 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[27, 6], Operations: ['72/6=12', '12/2=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[27, 14], Operations: ['72/6=12', '2+12=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 57:[12, 25], Operations: ['72/6=12', '27-2=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,57 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 57:[6, 2, 45], Operations: ['72-27=45'] Exploring Operation: 6/2=3, Resulting Numbers: [45, 3] Generated Node #0,3,0: 57:[45, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [45, 4] Generated Node #0,3,1: 57:[45, 4] Operation: 6-2=4 Exploring Operation: 6+2=8, Resulting Numbers: [45, 8] Generated Node #0,3,2: 57:[45, 8] Operation: 6+2=8 Exploring Operation: 2+45=47, Resulting Numbers: [6, 47] Generated Node #0,3,3: 57:[6, 47] Operation: 2+45=47 Exploring Operation: 6+45=51, Resulting Numbers: [2, 51] Generated Node #0,3,4: 57:[2, 51] Operation: 6+45=51 Moving to Node #0,1 Current State: 57:[27, 2, 66], Operations: ['72-6=66'] Exploring Operation: 27-2=25, Resulting Numbers: [66, 25] Generated Node #0,1,0: 57:[66, 25] Operation: 27-2=25 Exploring Operation: 27*2=54, Resulting Numbers: [66, 54] Generated Node #0,1,1: 57:[66, 54] Operation: 27*2=54 Exploring Operation: 66-2=64, Resulting Numbers: [27, 64] Generated Node #0,1,2: 57:[27, 64] Operation: 66-2=64 Exploring Operation: 27+2=29, Resulting Numbers: [66, 29] Generated Node #0,1,3: 57:[66, 29] Operation: 27+2=29 Exploring Operation: 66-27=39, Resulting Numbers: [2, 39] Generated Node #0,1,4: 57:[2, 39] Operation: 66-27=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[66, 54], Operations: ['72-6=66', '27*2=54'] Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,57 unequal: No Solution Exploring Operation: 66*54=3564, Resulting Numbers: [3564] 3564,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[66, 25], Operations: ['72-6=66', '27-2=25'] Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[27, 64], Operations: ['72-6=66', '66-2=64'] Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,57 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[66, 29], Operations: ['72-6=66', '27+2=29'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 57:[2, 39], Operations: ['72-6=66', '66-27=39'] Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,57 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: 57:[2, 72, 21], Operations: ['27-6=21'] Exploring Operation: 72/2=36, Resulting Numbers: [21, 36] Generated Node #0,4,0: 57:[21, 36] Operation: 72/2=36 Exploring Operation: 2+72=74, Resulting Numbers: [21, 74] Generated Node #0,4,1: 57:[21, 74] Operation: 2+72=74 Exploring Operation: 72-21=51, Resulting Numbers: [2, 51] Generated Node #0,4,2: 57:[2, 51] Operation: 72-21=51 Exploring Operation: 72-2=70, Resulting Numbers: [21, 70] Generated Node #0,4,3: 57:[21, 70] Operation: 72-2=70 Exploring Operation: 21-2=19, Resulting Numbers: [72, 19] Generated Node #0,4,4: 57:[72, 19] Operation: 21-2=19 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 57:[2, 51], Operations: ['27-6=21', '72-21=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 57:[21, 70], Operations: ['27-6=21', '72-2=70'] Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,57 unequal: No Solution Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 57:[72, 19], Operations: ['27-6=21', '21-2=19'] Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,57 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 57:[21, 36], Operations: ['27-6=21', '72/2=36'] Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[27, 6, 2, 72], Operations: [] Exploring Operation: 27-6=21, Resulting Numbers: [2, 72, 21] Generated Node #0,4: 57:[2, 72, 21] Operation: 27-6=21 Moving to Node #0,4 Current State: 57:[2, 72, 21], Operations: ['27-6=21'] Exploring Operation: 72/2=36, Resulting Numbers: [21, 36] Generated Node #0,4,0: 57:[21, 36] Operation: 72/2=36 Moving to Node #0,4,0 Current State: 57:[21, 36], Operations: ['27-6=21', '72/2=36'] Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.940104
hs_5
mult_heuristic
[ 53, 89, 51, 49 ]
87
[ "53+49=102", "102/51=2", "89-2=87" ]
Current State: 87:[53, 89, 51, 49], Operations: [] Exploring Operation: 53+49=102, Resulting Numbers: [89, 51, 102] Generated Node #2: [89, 51, 102] from Operation: 53+49=102 Current State: 87:[89, 51, 102], Operations: ['53+49=102'] Exploring Operation: 102/51=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 102/51=2 Current State: 87:[89, 2], Operations: ['53+49=102', '102/51=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[53, 89, 51, 49], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [53, 89, 2] Generated Node #0,0: 87:[53, 89, 2] Operation: 51-49=2 Exploring Operation: 53-49=4, Resulting Numbers: [89, 51, 4] Generated Node #0,1: 87:[89, 51, 4] Operation: 53-49=4 Exploring Operation: 53+51=104, Resulting Numbers: [89, 49, 104] Generated Node #0,2: 87:[89, 49, 104] Operation: 53+51=104 Exploring Operation: 53+49=102, Resulting Numbers: [89, 51, 102] Generated Node #0,3: 87:[89, 51, 102] Operation: 53+49=102 Exploring Operation: 53-51=2, Resulting Numbers: [89, 49, 2] Generated Node #0,4: 87:[89, 49, 2] Operation: 53-51=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[89, 49, 2], Operations: ['53-51=2'] Exploring Operation: 89+2=91, Resulting Numbers: [49, 91] Generated Node #0,4,0: 87:[49, 91] Operation: 89+2=91 Exploring Operation: 49-2=47, Resulting Numbers: [89, 47] Generated Node #0,4,1: 87:[89, 47] Operation: 49-2=47 Exploring Operation: 49*2=98, Resulting Numbers: [89, 98] Generated Node #0,4,2: 87:[89, 98] Operation: 49*2=98 Exploring Operation: 89-49=40, Resulting Numbers: [2, 40] Generated Node #0,4,3: 87:[2, 40] Operation: 89-49=40 Exploring Operation: 89-2=87, Resulting Numbers: [49, 87] Generated Node #0,4,4: 87:[49, 87] Operation: 89-2=87 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 87:[2, 40], Operations: ['53-51=2', '89-49=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,87 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 87:[89, 98], Operations: ['53-51=2', '49*2=98'] Exploring Operation: 89*98=8722, Resulting Numbers: [8722] 8722,87 unequal: No Solution Exploring Operation: 98-89=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 89+98=187, Resulting Numbers: [187] 187,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 87:[89, 47], Operations: ['53-51=2', '49-2=47'] Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,87 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 87:[49, 87], Operations: ['53-51=2', '89-2=87'] Exploring Operation: 49+87=136, Resulting Numbers: [136] 136,87 unequal: No Solution Exploring Operation: 49*87=4263, Resulting Numbers: [4263] 4263,87 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 87:[49, 91], Operations: ['53-51=2', '89+2=91'] Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 49+91=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 49*91=4459, Resulting Numbers: [4459] 4459,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[89, 51, 4], Operations: ['53-49=4'] Exploring Operation: 89+4=93, Resulting Numbers: [51, 93] Generated Node #0,1,0: 87:[51, 93] Operation: 89+4=93 Exploring Operation: 51+4=55, Resulting Numbers: [89, 55] Generated Node #0,1,1: 87:[89, 55] Operation: 51+4=55 Exploring Operation: 89-51=38, Resulting Numbers: [4, 38] Generated Node #0,1,2: 87:[4, 38] Operation: 89-51=38 Exploring Operation: 89-4=85, Resulting Numbers: [51, 85] Generated Node #0,1,3: 87:[51, 85] Operation: 89-4=85 Exploring Operation: 51-4=47, Resulting Numbers: [89, 47] Generated Node #0,1,4: 87:[89, 47] Operation: 51-4=47 Moving to Node #0,1,2 Current State: 87:[4, 38], Operations: ['53-49=4', '89-51=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,87 unequal: No Solution Moving to Node #0,1,4 Current State: 87:[89, 47], Operations: ['53-49=4', '51-4=47'] Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,87 unequal: No Solution Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[51, 85], Operations: ['53-49=4', '89-4=85'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,87 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[51, 93], Operations: ['53-49=4', '89+4=93'] Exploring Operation: 51+93=144, Resulting Numbers: [144] 144,87 unequal: No Solution Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 51*93=4743, Resulting Numbers: [4743] 4743,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[89, 55], Operations: ['53-49=4', '51+4=55'] Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,87 unequal: No Solution Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[53, 89, 2], Operations: ['51-49=2'] Exploring Operation: 53+2=55, Resulting Numbers: [89, 55] Generated Node #0,0,0: 87:[89, 55] Operation: 53+2=55 Exploring Operation: 53-2=51, Resulting Numbers: [89, 51] Generated Node #0,0,1: 87:[89, 51] Operation: 53-2=51 Exploring Operation: 89-2=87, Resulting Numbers: [53, 87] Generated Node #0,0,2: 87:[53, 87] Operation: 89-2=87 Exploring Operation: 89-53=36, Resulting Numbers: [2, 36] Generated Node #0,0,3: 87:[2, 36] Operation: 89-53=36 Exploring Operation: 53*2=106, Resulting Numbers: [89, 106] Generated Node #0,0,4: 87:[89, 106] Operation: 53*2=106 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[2, 36], Operations: ['51-49=2', '89-53=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 87:[89, 106], Operations: ['51-49=2', '53*2=106'] Exploring Operation: 106-89=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 89+106=195, Resulting Numbers: [195] 195,87 unequal: No Solution Exploring Operation: 89*106=9434, Resulting Numbers: [9434] 9434,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[89, 51], Operations: ['51-49=2', '53-2=51'] Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,87 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[53, 87], Operations: ['51-49=2', '89-2=87'] Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 53*87=4611, Resulting Numbers: [4611] 4611,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[89, 55], Operations: ['51-49=2', '53+2=55'] Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,87 unequal: No Solution Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,87 unequal: No Solution Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[89, 49, 104], Operations: ['53+51=104'] Exploring Operation: 104-89=15, Resulting Numbers: [49, 15] Generated Node #0,2,0: 87:[49, 15] Operation: 104-89=15 Exploring Operation: 104-49=55, Resulting Numbers: [89, 55] Generated Node #0,2,1: 87:[89, 55] Operation: 104-49=55 Exploring Operation: 89+49=138, Resulting Numbers: [104, 138] Generated Node #0,2,2: 87:[104, 138] Operation: 89+49=138 Exploring Operation: 49+104=153, Resulting Numbers: [89, 153] Generated Node #0,2,3: 87:[89, 153] Operation: 49+104=153 Exploring Operation: 89-49=40, Resulting Numbers: [104, 40] Generated Node #0,2,4: 87:[104, 40] Operation: 89-49=40 Moving to Node #0,2,1 Current State: 87:[89, 55], Operations: ['53+51=104', '104-49=55'] Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,87 unequal: No Solution Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,87 unequal: No Solution Moving to Node #0,2,4 Current State: 87:[104, 40], Operations: ['53+51=104', '89-49=40'] Exploring Operation: 104+40=144, Resulting Numbers: [144] 144,87 unequal: No Solution Exploring Operation: 104*40=4160, Resulting Numbers: [4160] 4160,87 unequal: No Solution Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[49, 15], Operations: ['53+51=104', '104-89=15'] Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[104, 138], Operations: ['53+51=104', '89+49=138'] Exploring Operation: 104*138=14352, Resulting Numbers: [14352] 14352,87 unequal: No Solution Exploring Operation: 138-104=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 104+138=242, Resulting Numbers: [242] 242,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[89, 153], Operations: ['53+51=104', '49+104=153'] Exploring Operation: 153-89=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 89+153=242, Resulting Numbers: [242] 242,87 unequal: No Solution Exploring Operation: 89*153=13617, Resulting Numbers: [13617] 13617,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[89, 51, 102], Operations: ['53+49=102'] Exploring Operation: 102-51=51, Resulting Numbers: [89, 51] Generated Node #0,3,0: 87:[89, 51] Operation: 102-51=51 Exploring Operation: 102-89=13, Resulting Numbers: [51, 13] Generated Node #0,3,1: 87:[51, 13] Operation: 102-89=13 Exploring Operation: 89+51=140, Resulting Numbers: [102, 140] Generated Node #0,3,2: 87:[102, 140] Operation: 89+51=140 Exploring Operation: 102/51=2, Resulting Numbers: [89, 2] Generated Node #0,3,3: 87:[89, 2] Operation: 102/51=2 Exploring Operation: 89-51=38, Resulting Numbers: [102, 38] Generated Node #0,3,4: 87:[102, 38] Operation: 89-51=38 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 87:[89, 2], Operations: ['53+49=102', '102/51=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[53, 89, 51, 49], Operations: [] Exploring Operation: 53+49=102, Resulting Numbers: [89, 51, 102] Generated Node #0,3: 87:[89, 51, 102] Operation: 53+49=102 Moving to Node #0,3 Current State: 87:[89, 51, 102], Operations: ['53+49=102'] Exploring Operation: 102/51=2, Resulting Numbers: [89, 2] Generated Node #0,3,3: 87:[89, 2] Operation: 102/51=2 Moving to Node #0,3,3 Current State: 87:[89, 2], Operations: ['53+49=102', '102/51=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.915799
hs_5
mult_heuristic
[ 18, 85, 69, 37 ]
39
[ "85-18=67", "69+37=106", "106-67=39" ]
Current State: 39:[18, 85, 69, 37], Operations: [] Exploring Operation: 85-18=67, Resulting Numbers: [69, 37, 67] Generated Node #2: [69, 37, 67] from Operation: 85-18=67 Current State: 39:[69, 37, 67], Operations: ['85-18=67'] Exploring Operation: 69+37=106, Resulting Numbers: [67, 106] Generated Node #3: [67, 106] from Operation: 69+37=106 Current State: 39:[67, 106], Operations: ['85-18=67', '69+37=106'] Exploring Operation: 106-67=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[18, 85, 69, 37], Operations: [] Exploring Operation: 85-69=16, Resulting Numbers: [18, 37, 16] Generated Node #0,0: 39:[18, 37, 16] Operation: 85-69=16 Exploring Operation: 85-37=48, Resulting Numbers: [18, 69, 48] Generated Node #0,1: 39:[18, 69, 48] Operation: 85-37=48 Moving to Node #0,0 Current State: 39:[18, 37, 16], Operations: ['85-69=16'] Exploring Operation: 18+16=34, Resulting Numbers: [37, 34] Generated Node #0,0,0: 39:[37, 34] Operation: 18+16=34 Exploring Operation: 18-16=2, Resulting Numbers: [37, 2] Generated Node #0,0,1: 39:[37, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[37, 2], Operations: ['85-69=16', '18-16=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[18, 85, 69, 37], Operations: [] Exploring Operation: 85-69=16, Resulting Numbers: [18, 37, 16] Generated Node #0,0: 39:[18, 37, 16] Operation: 85-69=16 Moving to Node #0,0 Current State: 39:[18, 37, 16], Operations: ['85-69=16'] Exploring Operation: 18-16=2, Resulting Numbers: [37, 2] Generated Node #0,0,1: 39:[37, 2] Operation: 18-16=2 Moving to Node #0,0,1 Current State: 39:[37, 2], Operations: ['85-69=16', '18-16=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 40, 36, 12, 82 ]
63
[ "82-12=70", "36*70=2520", "2520/40=63" ]
Current State: 63:[40, 36, 12, 82], Operations: [] Exploring Operation: 82-12=70, Resulting Numbers: [40, 36, 70] Generated Node #2: [40, 36, 70] from Operation: 82-12=70 Current State: 63:[40, 36, 70], Operations: ['82-12=70'] Exploring Operation: 36*70=2520, Resulting Numbers: [40, 2520] Generated Node #3: [40, 2520] from Operation: 36*70=2520 Current State: 63:[40, 2520], Operations: ['82-12=70', '36*70=2520'] Exploring Operation: 2520/40=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[40, 36, 12, 82], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [12, 82, 4] Generated Node #0,0: 63:[12, 82, 4] Operation: 40-36=4 Exploring Operation: 40+36=76, Resulting Numbers: [12, 82, 76] Generated Node #0,1: 63:[12, 82, 76] Operation: 40+36=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[12, 82, 4], Operations: ['40-36=4'] Exploring Operation: 82-4=78, Resulting Numbers: [12, 78] Generated Node #0,0,0: 63:[12, 78] Operation: 82-4=78 Exploring Operation: 82-12=70, Resulting Numbers: [4, 70] Generated Node #0,0,1: 63:[4, 70] Operation: 82-12=70 Moving to Node #0,0,1 Current State: 63:[4, 70], Operations: ['40-36=4', '82-12=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[12, 78], Operations: ['40-36=4', '82-4=78'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,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:[12, 82, 76], Operations: ['40+36=76'] Exploring Operation: 82-76=6, Resulting Numbers: [12, 6] Generated Node #0,1,0: 63:[12, 6] Operation: 82-76=6 Exploring Operation: 82-12=70, Resulting Numbers: [76, 70] Generated Node #0,1,1: 63:[76, 70] Operation: 82-12=70 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[12, 6], Operations: ['40+36=76', '82-76=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,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,1,1 Current State: 63:[76, 70], Operations: ['40+36=76', '82-12=70'] Exploring Operation: 76+70=146, Resulting Numbers: [146] 146,63 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,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_2
mult_heuristic
[ 36, 69, 16, 67 ]
68
[ "69-67=2", "16*2=32", "36+32=68" ]
Current State: 68:[36, 69, 16, 67], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [36, 16, 2] Generated Node #2: [36, 16, 2] from Operation: 69-67=2 Current State: 68:[36, 16, 2], Operations: ['69-67=2'] Exploring Operation: 16*2=32, Resulting Numbers: [36, 32] Generated Node #3: [36, 32] from Operation: 16*2=32 Current State: 68:[36, 32], Operations: ['69-67=2', '16*2=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[36, 69, 16, 67], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [36, 16, 2] Generated Node #0,0: 68:[36, 16, 2] Operation: 69-67=2 Exploring Operation: 69-36=33, Resulting Numbers: [16, 67, 33] Generated Node #0,1: 68:[16, 67, 33] Operation: 69-36=33 Exploring Operation: 36-16=20, Resulting Numbers: [69, 67, 20] Generated Node #0,2: 68:[69, 67, 20] Operation: 36-16=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[36, 16, 2], Operations: ['69-67=2'] Exploring Operation: 36-2=34, Resulting Numbers: [16, 34] Generated Node #0,0,0: 68:[16, 34] Operation: 36-2=34 Exploring Operation: 36/2=18, Resulting Numbers: [16, 18] Generated Node #0,0,1: 68:[16, 18] Operation: 36/2=18 Exploring Operation: 36-16=20, Resulting Numbers: [2, 20] Generated Node #0,0,2: 68:[2, 20] Operation: 36-16=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[16, 34], Operations: ['69-67=2', '36-2=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[16, 18], Operations: ['69-67=2', '36/2=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[2, 20], Operations: ['69-67=2', '36-16=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,68 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[16, 67, 33], Operations: ['69-36=33'] Exploring Operation: 67-33=34, Resulting Numbers: [16, 34] Generated Node #0,1,0: 68:[16, 34] Operation: 67-33=34 Exploring Operation: 33-16=17, Resulting Numbers: [67, 17] Generated Node #0,1,1: 68:[67, 17] Operation: 33-16=17 Exploring Operation: 16+67=83, Resulting Numbers: [33, 83] Generated Node #0,1,2: 68:[33, 83] Operation: 16+67=83 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[16, 34], Operations: ['69-36=33', '67-33=34'] Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,68 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[67, 17], Operations: ['69-36=33', '33-16=17'] Exploring Operation: 67*17=1139, Resulting Numbers: [1139] 1139,68 unequal: No Solution Exploring Operation: 67+17=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[33, 83], Operations: ['69-36=33', '16+67=83'] Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,68 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[69, 67, 20], Operations: ['36-16=20'] Exploring Operation: 67-20=47, Resulting Numbers: [69, 47] Generated Node #0,2,0: 68:[69, 47] Operation: 67-20=47 Exploring Operation: 69-20=49, Resulting Numbers: [67, 49] Generated Node #0,2,1: 68:[67, 49] Operation: 69-20=49 Exploring Operation: 69-67=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 68:[20, 2] Operation: 69-67=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 68:[20, 2], Operations: ['36-16=20', '69-67=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,68 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[69, 47], Operations: ['36-16=20', '67-20=47'] Exploring Operation: 69*47=3243, Resulting Numbers: [3243] 3243,68 unequal: No Solution Exploring Operation: 69-47=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 69+47=116, Resulting Numbers: [116] 116,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[67, 49], Operations: ['36-16=20', '69-20=49'] Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,68 unequal: No Solution Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,68 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 50, 58, 53, 32 ]
81
[ "50*53=2650", "2650-58=2592", "2592/32=81" ]
Current State: 81:[50, 58, 53, 32], Operations: [] Exploring Operation: 50*53=2650, Resulting Numbers: [58, 32, 2650] Generated Node #2: [58, 32, 2650] from Operation: 50*53=2650 Current State: 81:[58, 32, 2650], Operations: ['50*53=2650'] Exploring Operation: 2650-58=2592, Resulting Numbers: [32, 2592] Generated Node #3: [32, 2592] from Operation: 2650-58=2592 Current State: 81:[32, 2592], Operations: ['50*53=2650', '2650-58=2592'] Exploring Operation: 2592/32=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[50, 58, 53, 32], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [50, 32, 5] Generated Node #0,0: 81:[50, 32, 5] Operation: 58-53=5 Exploring Operation: 53-50=3, Resulting Numbers: [58, 32, 3] Generated Node #0,1: 81:[58, 32, 3] Operation: 53-50=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[58, 32, 3], Operations: ['53-50=3'] Exploring Operation: 58-32=26, Resulting Numbers: [3, 26] Generated Node #0,1,0: 81:[3, 26] Operation: 58-32=26 Exploring Operation: 58+32=90, Resulting Numbers: [3, 90] Generated Node #0,1,1: 81:[3, 90] Operation: 58+32=90 Moving to Node #0,1,0 Current State: 81:[3, 26], Operations: ['53-50=3', '58-32=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,81 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[3, 90], Operations: ['53-50=3', '58+32=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,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 Current State: 81:[50, 32, 5], Operations: ['58-53=5'] Exploring Operation: 50/5=10, Resulting Numbers: [32, 10] Generated Node #0,0,0: 81:[32, 10] Operation: 50/5=10 Exploring Operation: 50+32=82, Resulting Numbers: [5, 82] Generated Node #0,0,1: 81:[5, 82] Operation: 50+32=82 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[5, 82], Operations: ['58-53=5', '50+32=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[32, 10], Operations: ['58-53=5', '50/5=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,81 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
[ 93, 25, 53, 32 ]
47
[ "93-25=68", "53-32=21", "68-21=47" ]
Current State: 47:[93, 25, 53, 32], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [53, 32, 68] Generated Node #2: [53, 32, 68] from Operation: 93-25=68 Current State: 47:[53, 32, 68], Operations: ['93-25=68'] Exploring Operation: 53-32=21, Resulting Numbers: [68, 21] Generated Node #3: [68, 21] from Operation: 53-32=21 Current State: 47:[68, 21], Operations: ['93-25=68', '53-32=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[93, 25, 53, 32], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [53, 32, 68] Generated Node #0,0: 47:[53, 32, 68] Operation: 93-25=68 Exploring Operation: 93-32=61, Resulting Numbers: [25, 53, 61] Generated Node #0,1: 47:[25, 53, 61] Operation: 93-32=61 Moving to Node #0,0 Current State: 47:[53, 32, 68], Operations: ['93-25=68'] Exploring Operation: 68-32=36, Resulting Numbers: [53, 36] Generated Node #0,0,0: 47:[53, 36] Operation: 68-32=36 Exploring Operation: 53-32=21, Resulting Numbers: [68, 21] Generated Node #0,0,1: 47:[68, 21] Operation: 53-32=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[53, 36], Operations: ['93-25=68', '68-32=36'] Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 53+36=89, Resulting Numbers: [89] 89,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[68, 21], Operations: ['93-25=68', '53-32=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[93, 25, 53, 32], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [53, 32, 68] Generated Node #0,0: 47:[53, 32, 68] Operation: 93-25=68 Moving to Node #0,0 Current State: 47:[53, 32, 68], Operations: ['93-25=68'] Exploring Operation: 53-32=21, Resulting Numbers: [68, 21] Generated Node #0,0,1: 47:[68, 21] Operation: 53-32=21 Moving to Node #0,0,1 Current State: 47:[68, 21], Operations: ['93-25=68', '53-32=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 38, 80, 97, 33 ]
88
[ "80-38=42", "97+33=130", "130-42=88" ]
Current State: 88:[38, 80, 97, 33], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [97, 33, 42] Generated Node #2: [97, 33, 42] from Operation: 80-38=42 Current State: 88:[97, 33, 42], Operations: ['80-38=42'] Exploring Operation: 97+33=130, Resulting Numbers: [42, 130] Generated Node #3: [42, 130] from Operation: 97+33=130 Current State: 88:[42, 130], Operations: ['80-38=42', '97+33=130'] Exploring Operation: 130-42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 80, 97, 33], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [97, 33, 42] Generated Node #0,0: 88:[97, 33, 42] Operation: 80-38=42 Exploring Operation: 38-33=5, Resulting Numbers: [80, 97, 5] Generated Node #0,1: 88:[80, 97, 5] Operation: 38-33=5 Exploring Operation: 80-33=47, Resulting Numbers: [38, 97, 47] Generated Node #0,2: 88:[38, 97, 47] Operation: 80-33=47 Moving to Node #0,1 Current State: 88:[80, 97, 5], Operations: ['38-33=5'] Exploring Operation: 97-5=92, Resulting Numbers: [80, 92] Generated Node #0,1,0: 88:[80, 92] Operation: 97-5=92 Exploring Operation: 97-80=17, Resulting Numbers: [5, 17] Generated Node #0,1,1: 88:[5, 17] Operation: 97-80=17 Exploring Operation: 80+5=85, Resulting Numbers: [97, 85] Generated Node #0,1,2: 88:[97, 85] Operation: 80+5=85 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[5, 17], Operations: ['38-33=5', '97-80=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,88 unequal: No Solution No 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: 88:[80, 92], Operations: ['38-33=5', '97-5=92'] Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,88 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,88 unequal: No Solution No 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: 88:[97, 85], Operations: ['38-33=5', '80+5=85'] Exploring Operation: 97-85=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 97+85=182, Resulting Numbers: [182] 182,88 unequal: No Solution Exploring Operation: 97*85=8245, Resulting Numbers: [8245] 8245,88 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: 88:[38, 97, 47], Operations: ['80-33=47'] Exploring Operation: 97-47=50, Resulting Numbers: [38, 50] Generated Node #0,2,0: 88:[38, 50] Operation: 97-47=50 Exploring Operation: 38+47=85, Resulting Numbers: [97, 85] Generated Node #0,2,1: 88:[97, 85] Operation: 38+47=85 Exploring Operation: 47-38=9, Resulting Numbers: [97, 9] Generated Node #0,2,2: 88:[97, 9] Operation: 47-38=9 Moving to Node #0,0 Current State: 88:[97, 33, 42], Operations: ['80-38=42'] Exploring Operation: 42-33=9, Resulting Numbers: [97, 9] Generated Node #0,0,0: 88:[97, 9] Operation: 42-33=9 Exploring Operation: 97-33=64, Resulting Numbers: [42, 64] Generated Node #0,0,1: 88:[42, 64] Operation: 97-33=64 Exploring Operation: 97-42=55, Resulting Numbers: [33, 55] Generated Node #0,0,2: 88:[33, 55] Operation: 97-42=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[97, 9], Operations: ['80-38=42', '42-33=9'] Exploring Operation: 97+9=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[38, 80, 97, 33], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [97, 33, 42] Generated Node #0,0: 88:[97, 33, 42] Operation: 80-38=42 Moving to Node #0,0 Current State: 88:[97, 33, 42], Operations: ['80-38=42'] Exploring Operation: 42-33=9, Resulting Numbers: [97, 9] Generated Node #0,0,0: 88:[97, 9] Operation: 42-33=9 Moving to Node #0,0,0 Current State: 88:[97, 9], Operations: ['80-38=42', '42-33=9'] Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 87, 20, 23, 90 ]
37
[ "90-87=3", "20*3=60", "60-23=37" ]
Current State: 37:[87, 20, 23, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [20, 23, 3] Generated Node #2: [20, 23, 3] from Operation: 90-87=3 Current State: 37:[20, 23, 3], Operations: ['90-87=3'] Exploring Operation: 20*3=60, Resulting Numbers: [23, 60] Generated Node #3: [23, 60] from Operation: 20*3=60 Current State: 37:[23, 60], Operations: ['90-87=3', '20*3=60'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[87, 20, 23, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [20, 23, 3] Generated Node #0,0: 37:[20, 23, 3] Operation: 90-87=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[20, 23, 3], Operations: ['90-87=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23, 23] Generated Node #0,0,0: 37:[23, 23] Operation: 20+3=23 Moving to Node #0,0,0 Current State: 37:[23, 23], Operations: ['90-87=3', '20+3=23'] Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,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
mult_heuristic
[ 98, 16, 13, 62 ]
39
[ "98+16=114", "13+62=75", "114-75=39" ]
Current State: 39:[98, 16, 13, 62], Operations: [] Exploring Operation: 98+16=114, Resulting Numbers: [13, 62, 114] Generated Node #2: [13, 62, 114] from Operation: 98+16=114 Current State: 39:[13, 62, 114], Operations: ['98+16=114'] Exploring Operation: 13+62=75, Resulting Numbers: [114, 75] Generated Node #3: [114, 75] from Operation: 13+62=75 Current State: 39:[114, 75], Operations: ['98+16=114', '13+62=75'] Exploring Operation: 114-75=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[98, 16, 13, 62], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [13, 62, 82] Generated Node #0,0: 39:[13, 62, 82] Operation: 98-16=82 Exploring Operation: 98-62=36, Resulting Numbers: [16, 13, 36] Generated Node #0,1: 39:[16, 13, 36] Operation: 98-62=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[16, 13, 36], Operations: ['98-62=36'] Exploring Operation: 36-16=20, Resulting Numbers: [13, 20] Generated Node #0,1,0: 39:[13, 20] Operation: 36-16=20 Exploring Operation: 16-13=3, Resulting Numbers: [36, 3] Generated Node #0,1,1: 39:[36, 3] Operation: 16-13=3 Moving to Node #0,1,1 Current State: 39:[36, 3], Operations: ['98-62=36', '16-13=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[98, 16, 13, 62], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [16, 13, 36] Generated Node #0,1: 39:[16, 13, 36] Operation: 98-62=36 Moving to Node #0,1 Current State: 39:[16, 13, 36], Operations: ['98-62=36'] Exploring Operation: 16-13=3, Resulting Numbers: [36, 3] Generated Node #0,1,1: 39:[36, 3] Operation: 16-13=3 Moving to Node #0,1,1 Current State: 39:[36, 3], Operations: ['98-62=36', '16-13=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 95, 1, 6, 85 ]
69
[ "95+1=96", "96/6=16", "85-16=69" ]
Current State: 69:[95, 1, 6, 85], Operations: [] Exploring Operation: 95+1=96, Resulting Numbers: [6, 85, 96] Generated Node #2: [6, 85, 96] from Operation: 95+1=96 Current State: 69:[6, 85, 96], Operations: ['95+1=96'] Exploring Operation: 96/6=16, Resulting Numbers: [85, 16] Generated Node #3: [85, 16] from Operation: 96/6=16 Current State: 69:[85, 16], Operations: ['95+1=96', '96/6=16'] Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[95, 1, 6, 85], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [1, 6, 10] Generated Node #0,0: 69:[1, 6, 10] Operation: 95-85=10 Exploring Operation: 95-6=89, Resulting Numbers: [1, 85, 89] Generated Node #0,1: 69:[1, 85, 89] Operation: 95-6=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[1, 6, 10], Operations: ['95-85=10'] Exploring Operation: 6-1=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 69:[10, 5] Operation: 6-1=5 Exploring Operation: 10-6=4, Resulting Numbers: [1, 4] Generated Node #0,0,1: 69:[1, 4] Operation: 10-6=4 Moving to Node #0,0,1 Current State: 69:[1, 4], Operations: ['95-85=10', '10-6=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[10, 5], Operations: ['95-85=10', '6-1=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[1, 85, 89], Operations: ['95-6=89'] Exploring Operation: 85-1=84, Resulting Numbers: [89, 84] Generated Node #0,1,0: 69:[89, 84] Operation: 85-1=84 Exploring Operation: 89-85=4, Resulting Numbers: [1, 4] Generated Node #0,1,1: 69:[1, 4] Operation: 89-85=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[1, 4], Operations: ['95-6=89', '89-85=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[89, 84], Operations: ['95-6=89', '85-1=84'] Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 89+84=173, Resulting Numbers: [173] 173,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 22, 42, 22, 95 ]
53
[ "22+42=64", "22+95=117", "117-64=53" ]
Current State: 53:[22, 42, 22, 95], Operations: [] Exploring Operation: 22+42=64, Resulting Numbers: [95, 64] Generated Node #2: [95, 64] from Operation: 22+42=64 Current State: 53:[95, 64], Operations: ['22+42=64'] Exploring Operation: 22+95=117, Resulting Numbers: [64, 117] Generated Node #3: [64, 117] from Operation: 22+95=117 Current State: 53:[64, 117], Operations: ['22+42=64', '22+95=117'] Exploring Operation: 117-64=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[22, 42, 22, 95], Operations: [] Exploring Operation: 95-42=53, Resulting Numbers: [22, 22, 53] Generated Node #0,0: 53:[22, 22, 53] Operation: 95-42=53 Exploring Operation: 22+22=44, Resulting Numbers: [42, 95, 44] Generated Node #0,1: 53:[42, 95, 44] Operation: 22+22=44 Exploring Operation: 22+42=64, Resulting Numbers: [22, 95, 64] Generated Node #0,2: 53:[22, 95, 64] Operation: 22+42=64 Exploring Operation: 95-22=73, Resulting Numbers: [22, 42, 73] Generated Node #0,3: 53:[22, 42, 73] Operation: 95-22=73 Exploring Operation: 95-22=73, Resulting Numbers: [42, 22, 73] Generated Node #0,4: 53:[42, 22, 73] Operation: 95-22=73 Moving to Node #0,0 Current State: 53:[22, 22, 53], Operations: ['95-42=53'] Exploring Operation: 22-22=0, Resulting Numbers: [53, 0] Generated Node #0,0,0: 53:[53, 0] Operation: 22-22=0 Exploring Operation: 22/22=1, Resulting Numbers: [53, 1] Generated Node #0,0,1: 53:[53, 1] Operation: 22/22=1 Exploring Operation: 53-22=31, Resulting Numbers: [22, 31] Generated Node #0,0,2: 53:[22, 31] Operation: 53-22=31 Exploring Operation: 22+22=44, Resulting Numbers: [53, 44] Generated Node #0,0,3: 53:[53, 44] Operation: 22+22=44 Exploring Operation: 22+53=75, Resulting Numbers: [22, 75] Generated Node #0,0,4: 53:[22, 75] Operation: 22+53=75 Moving to Node #0,3 Current State: 53:[22, 42, 73], Operations: ['95-22=73'] Exploring Operation: 22+73=95, Resulting Numbers: [42, 95] Generated Node #0,3,0: 53:[42, 95] Operation: 22+73=95 Exploring Operation: 73-22=51, Resulting Numbers: [42, 51] Generated Node #0,3,1: 53:[42, 51] Operation: 73-22=51 Exploring Operation: 42-22=20, Resulting Numbers: [73, 20] Generated Node #0,3,2: 53:[73, 20] Operation: 42-22=20 Exploring Operation: 73-42=31, Resulting Numbers: [22, 31] Generated Node #0,3,3: 53:[22, 31] Operation: 73-42=31 Exploring Operation: 22+42=64, Resulting Numbers: [73, 64] Generated Node #0,3,4: 53:[73, 64] Operation: 22+42=64 Moving to Node #0,1 Current State: 53:[42, 95, 44], Operations: ['22+22=44'] Exploring Operation: 95-44=51, Resulting Numbers: [42, 51] Generated Node #0,1,0: 53:[42, 51] Operation: 95-44=51 Exploring Operation: 44-42=2, Resulting Numbers: [95, 2] Generated Node #0,1,1: 53:[95, 2] Operation: 44-42=2 Exploring Operation: 42+95=137, Resulting Numbers: [44, 137] Generated Node #0,1,2: 53:[44, 137] Operation: 42+95=137 Exploring Operation: 42+44=86, Resulting Numbers: [95, 86] Generated Node #0,1,3: 53:[95, 86] Operation: 42+44=86 Exploring Operation: 95-42=53, Resulting Numbers: [44, 53] Generated Node #0,1,4: 53:[44, 53] Operation: 95-42=53 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[44, 53], Operations: ['22+22=44', '95-42=53'] Exploring Operation: 44*53=2332, Resulting Numbers: [2332] 2332,53 unequal: No Solution Exploring Operation: 44+53=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,53 unequal: No Solution No 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: 53:[42, 51], Operations: ['22+22=44', '95-44=51'] Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,53 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,53 unequal: No Solution No 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: 53:[95, 86], Operations: ['22+22=44', '42+44=86'] Exploring Operation: 95+86=181, Resulting Numbers: [181] 181,53 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 95*86=8170, Resulting Numbers: [8170] 8170,53 unequal: No Solution No 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: 53:[95, 2], Operations: ['22+22=44', '44-42=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,53 unequal: No Solution No 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: 53:[44, 137], Operations: ['22+22=44', '42+95=137'] Exploring Operation: 44+137=181, Resulting Numbers: [181] 181,53 unequal: No Solution Exploring Operation: 137-44=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 44*137=6028, Resulting Numbers: [6028] 6028,53 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: 53:[42, 22, 73], Operations: ['95-22=73'] Exploring Operation: 22+73=95, Resulting Numbers: [42, 95] Generated Node #0,4,0: 53:[42, 95] Operation: 22+73=95 Exploring Operation: 73-42=31, Resulting Numbers: [22, 31] Generated Node #0,4,1: 53:[22, 31] Operation: 73-42=31 Exploring Operation: 73-22=51, Resulting Numbers: [42, 51] Generated Node #0,4,2: 53:[42, 51] Operation: 73-22=51 Exploring Operation: 42-22=20, Resulting Numbers: [73, 20] Generated Node #0,4,3: 53:[73, 20] Operation: 42-22=20 Exploring Operation: 42+22=64, Resulting Numbers: [73, 64] Generated Node #0,4,4: 53:[73, 64] Operation: 42+22=64 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[42, 51], Operations: ['95-22=73', '73-22=51'] Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,53 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,53 unequal: No Solution No 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: 53:[73, 64], Operations: ['95-22=73', '42+22=64'] Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,53 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,53 unequal: No Solution No 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: 53:[42, 95], Operations: ['95-22=73', '22+73=95'] Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[22, 42, 22, 95], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [42, 22, 73] Generated Node #0,4: 53:[42, 22, 73] Operation: 95-22=73 Moving to Node #0,4 Current State: 53:[42, 22, 73], Operations: ['95-22=73'] Exploring Operation: 22+73=95, Resulting Numbers: [42, 95] Generated Node #0,4,0: 53:[42, 95] Operation: 22+73=95 Moving to Node #0,4,0 Current State: 53:[42, 95], Operations: ['95-22=73', '22+73=95'] Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
sum_heuristic
[ 95, 6, 45, 15 ]
83
[ "95*6=570", "570/15=38", "45+38=83" ]
Current State: 83:[95, 6, 45, 15], Operations: [] Exploring Operation: 95*6=570, Resulting Numbers: [45, 15, 570] Generated Node #2: [45, 15, 570] from Operation: 95*6=570 Current State: 83:[45, 15, 570], Operations: ['95*6=570'] Exploring Operation: 570/15=38, Resulting Numbers: [45, 38] Generated Node #3: [45, 38] from Operation: 570/15=38 Current State: 83:[45, 38], Operations: ['95*6=570', '570/15=38'] Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[95, 6, 45, 15], Operations: [] Exploring Operation: 95-6=89, Resulting Numbers: [45, 15, 89] Generated Node #0,0: 83:[45, 15, 89] Operation: 95-6=89 Exploring Operation: 6*15=90, Resulting Numbers: [95, 45, 90] Generated Node #0,1: 83:[95, 45, 90] Operation: 6*15=90 Moving to Node #0,1 Current State: 83:[95, 45, 90], Operations: ['6*15=90'] Exploring Operation: 95-45=50, Resulting Numbers: [90, 50] Generated Node #0,1,0: 83:[90, 50] Operation: 95-45=50 Exploring Operation: 90-45=45, Resulting Numbers: [95, 45] Generated Node #0,1,1: 83:[95, 45] Operation: 90-45=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[90, 50], Operations: ['6*15=90', '95-45=50'] Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,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,1 Current State: 83:[95, 45], Operations: ['6*15=90', '90-45=45'] Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 95+45=140, Resulting Numbers: [140] 140,83 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: 83:[45, 15, 89], Operations: ['95-6=89'] Exploring Operation: 45+15=60, Resulting Numbers: [89, 60] Generated Node #0,0,0: 83:[89, 60] Operation: 45+15=60 Exploring Operation: 89-15=74, Resulting Numbers: [45, 74] Generated Node #0,0,1: 83:[45, 74] Operation: 89-15=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[89, 60], Operations: ['95-6=89', '45+15=60'] Exploring Operation: 89+60=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 89-60=29, Resulting Numbers: [29] 29,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,0,1 Current State: 83:[45, 74], Operations: ['95-6=89', '89-15=74'] Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,83 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
[ 10, 42, 46, 42 ]
37
[ "46-10=36", "42/42=1", "36+1=37" ]
Current State: 37:[10, 42, 46, 42], Operations: [] Exploring Operation: 46-10=36, Resulting Numbers: [42, 42, 36] Generated Node #2: [42, 42, 36] from Operation: 46-10=36 Current State: 37:[42, 42, 36], Operations: ['46-10=36'] Exploring Operation: 42/42=1, Resulting Numbers: [36, 1] Generated Node #3: [36, 1] from Operation: 42/42=1 Current State: 37:[36, 1], Operations: ['46-10=36', '42/42=1'] Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[10, 42, 46, 42], Operations: [] Exploring Operation: 42-10=32, Resulting Numbers: [42, 46, 32] Generated Node #0,0: 37:[42, 46, 32] Operation: 42-10=32 Exploring Operation: 42-10=32, Resulting Numbers: [46, 42, 32] Generated Node #0,1: 37:[46, 42, 32] Operation: 42-10=32 Exploring Operation: 46-10=36, Resulting Numbers: [42, 42, 36] Generated Node #0,2: 37:[42, 42, 36] Operation: 46-10=36 Exploring Operation: 10+42=52, Resulting Numbers: [46, 42, 52] Generated Node #0,3: 37:[46, 42, 52] Operation: 10+42=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[42, 42, 36], Operations: ['46-10=36'] Exploring Operation: 42-42=0, Resulting Numbers: [36, 0] Generated Node #0,2,0: 37:[36, 0] Operation: 42-42=0 Exploring Operation: 42/42=1, Resulting Numbers: [36, 1] Generated Node #0,2,1: 37:[36, 1] Operation: 42/42=1 Exploring Operation: 42-36=6, Resulting Numbers: [42, 6] Generated Node #0,2,2: 37:[42, 6] Operation: 42-36=6 Exploring Operation: 42-36=6, Resulting Numbers: [42, 6] Generated Node #0,2,3: 37:[42, 6] Operation: 42-36=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[42, 6], Operations: ['46-10=36', '42-36=6'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,37 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,37 unequal: No Solution No 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: 37:[42, 6], Operations: ['46-10=36', '42-36=6'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,37 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,37 unequal: No Solution No 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: 37:[36, 1], Operations: ['46-10=36', '42/42=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,37 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[10, 42, 46, 42], Operations: [] Exploring Operation: 46-10=36, Resulting Numbers: [42, 42, 36] Generated Node #0,2: 37:[42, 42, 36] Operation: 46-10=36 Moving to Node #0,2 Current State: 37:[42, 42, 36], Operations: ['46-10=36'] Exploring Operation: 42/42=1, Resulting Numbers: [36, 1] Generated Node #0,2,1: 37:[36, 1] Operation: 42/42=1 Moving to Node #0,2,1 Current State: 37:[36, 1], Operations: ['46-10=36', '42/42=1'] Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 18, 4, 10, 98 ]
86
[ "18+4=22", "10+98=108", "108-22=86" ]
Current State: 86:[18, 4, 10, 98], Operations: [] Exploring Operation: 18+4=22, Resulting Numbers: [10, 98, 22] Generated Node #2: [10, 98, 22] from Operation: 18+4=22 Current State: 86:[10, 98, 22], Operations: ['18+4=22'] Exploring Operation: 10+98=108, Resulting Numbers: [22, 108] Generated Node #3: [22, 108] from Operation: 10+98=108 Current State: 86:[22, 108], Operations: ['18+4=22', '10+98=108'] Exploring Operation: 108-22=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[18, 4, 10, 98], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [4, 98, 8] Generated Node #0,0: 86:[4, 98, 8] Operation: 18-10=8 Exploring Operation: 98-18=80, Resulting Numbers: [4, 10, 80] Generated Node #0,1: 86:[4, 10, 80] Operation: 98-18=80 Moving to Node #0,1 Current State: 86:[4, 10, 80], Operations: ['98-18=80'] Exploring Operation: 80/10=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 86:[4, 8] Operation: 80/10=8 Exploring Operation: 10+80=90, Resulting Numbers: [4, 90] Generated Node #0,1,1: 86:[4, 90] Operation: 10+80=90 Moving to Node #0,0 Current State: 86:[4, 98, 8], Operations: ['18-10=8'] Exploring Operation: 98-8=90, Resulting Numbers: [4, 90] Generated Node #0,0,0: 86:[4, 90] Operation: 98-8=90 Exploring Operation: 8/4=2, Resulting Numbers: [98, 2] Generated Node #0,0,1: 86:[98, 2] Operation: 8/4=2 Moving to Node #0,1,1 Current State: 86:[4, 90], Operations: ['98-18=80', '10+80=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[18, 4, 10, 98], Operations: [] Exploring Operation: 98-18=80, Resulting Numbers: [4, 10, 80] Generated Node #0,1: 86:[4, 10, 80] Operation: 98-18=80 Moving to Node #0,1 Current State: 86:[4, 10, 80], Operations: ['98-18=80'] Exploring Operation: 10+80=90, Resulting Numbers: [4, 90] Generated Node #0,1,1: 86:[4, 90] Operation: 10+80=90 Moving to Node #0,1,1 Current State: 86:[4, 90], Operations: ['98-18=80', '10+80=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 56, 87, 19, 87 ]
74
[ "56+19=75", "87/87=1", "75-1=74" ]
Current State: 74:[56, 87, 19, 87], Operations: [] Exploring Operation: 56+19=75, Resulting Numbers: [87, 87, 75] Generated Node #2: [87, 87, 75] from Operation: 56+19=75 Current State: 74:[87, 87, 75], Operations: ['56+19=75'] Exploring Operation: 87/87=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 87/87=1 Current State: 74:[75, 1], Operations: ['56+19=75', '87/87=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[56, 87, 19, 87], Operations: [] Exploring Operation: 87-56=31, Resulting Numbers: [19, 87, 31] Generated Node #0,0: 74:[19, 87, 31] Operation: 87-56=31 Exploring Operation: 56-19=37, Resulting Numbers: [87, 87, 37] Generated Node #0,1: 74:[87, 87, 37] Operation: 56-19=37 Exploring Operation: 56+19=75, Resulting Numbers: [87, 87, 75] Generated Node #0,2: 74:[87, 87, 75] Operation: 56+19=75 Exploring Operation: 87-56=31, Resulting Numbers: [87, 19, 31] Generated Node #0,3: 74:[87, 19, 31] Operation: 87-56=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[87, 87, 37], Operations: ['56-19=37'] Exploring Operation: 87-87=0, Resulting Numbers: [37, 0] Generated Node #0,1,0: 74:[37, 0] Operation: 87-87=0 Exploring Operation: 87-37=50, Resulting Numbers: [87, 50] Generated Node #0,1,1: 74:[87, 50] Operation: 87-37=50 Exploring Operation: 87-37=50, Resulting Numbers: [87, 50] Generated Node #0,1,2: 74:[87, 50] Operation: 87-37=50 Exploring Operation: 87/87=1, Resulting Numbers: [37, 1] Generated Node #0,1,3: 74:[37, 1] Operation: 87/87=1 Moving to Node #0,1,3 Current State: 74:[37, 1], Operations: ['56-19=37', '87/87=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[37, 0], Operations: ['56-19=37', '87-87=0'] Exploring Operation: 37+0=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 37-0=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 37*0=0, Resulting Numbers: [0] 0,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[87, 50], Operations: ['56-19=37', '87-37=50'] Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,74 unequal: No Solution Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[87, 50], Operations: ['56-19=37', '87-37=50'] Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,74 unequal: No Solution Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,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 Current State: 74:[87, 87, 75], Operations: ['56+19=75'] Exploring Operation: 87-75=12, Resulting Numbers: [87, 12] Generated Node #0,2,0: 74:[87, 12] Operation: 87-75=12 Exploring Operation: 87-87=0, Resulting Numbers: [75, 0] Generated Node #0,2,1: 74:[75, 0] Operation: 87-87=0 Exploring Operation: 87-75=12, Resulting Numbers: [87, 12] Generated Node #0,2,2: 74:[87, 12] Operation: 87-75=12 Exploring Operation: 87/87=1, Resulting Numbers: [75, 1] Generated Node #0,2,3: 74:[75, 1] Operation: 87/87=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 74:[75, 1], Operations: ['56+19=75', '87/87=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[56, 87, 19, 87], Operations: [] Exploring Operation: 56+19=75, Resulting Numbers: [87, 87, 75] Generated Node #0,2: 74:[87, 87, 75] Operation: 56+19=75 Moving to Node #0,2 Current State: 74:[87, 87, 75], Operations: ['56+19=75'] Exploring Operation: 87/87=1, Resulting Numbers: [75, 1] Generated Node #0,2,3: 74:[75, 1] Operation: 87/87=1 Moving to Node #0,2,3 Current State: 74:[75, 1], Operations: ['56+19=75', '87/87=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 88, 50, 27, 44 ]
22
[ "27*44=1188", "1188-88=1100", "1100/50=22" ]
Current State: 22:[88, 50, 27, 44], Operations: [] Exploring Operation: 27*44=1188, Resulting Numbers: [88, 50, 1188] Generated Node #2: [88, 50, 1188] from Operation: 27*44=1188 Current State: 22:[88, 50, 1188], Operations: ['27*44=1188'] Exploring Operation: 1188-88=1100, Resulting Numbers: [50, 1100] Generated Node #3: [50, 1100] from Operation: 1188-88=1100 Current State: 22:[50, 1100], Operations: ['27*44=1188', '1188-88=1100'] Exploring Operation: 1100/50=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[88, 50, 27, 44], Operations: [] Exploring Operation: 50-44=6, Resulting Numbers: [88, 27, 6] Generated Node #0,0: 22:[88, 27, 6] Operation: 50-44=6 Exploring Operation: 88-27=61, Resulting Numbers: [50, 44, 61] Generated Node #0,1: 22:[50, 44, 61] Operation: 88-27=61 Exploring Operation: 88-50=38, Resulting Numbers: [27, 44, 38] Generated Node #0,2: 22:[27, 44, 38] Operation: 88-50=38 Exploring Operation: 88/44=2, Resulting Numbers: [50, 27, 2] Generated Node #0,3: 22:[50, 27, 2] Operation: 88/44=2 Exploring Operation: 88-44=44, Resulting Numbers: [50, 27, 44] Generated Node #0,4: 22:[50, 27, 44] Operation: 88-44=44 Moving to Node #0,3 Current State: 22:[50, 27, 2], Operations: ['88/44=2'] Exploring Operation: 27-2=25, Resulting Numbers: [50, 25] Generated Node #0,3,0: 22:[50, 25] Operation: 27-2=25 Exploring Operation: 50-2=48, Resulting Numbers: [27, 48] Generated Node #0,3,1: 22:[27, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [27, 25] Generated Node #0,3,2: 22:[27, 25] Operation: 50/2=25 Exploring Operation: 50-27=23, Resulting Numbers: [2, 23] Generated Node #0,3,3: 22:[2, 23] Operation: 50-27=23 Exploring Operation: 50+2=52, Resulting Numbers: [27, 52] Generated Node #0,3,4: 22:[27, 52] Operation: 50+2=52 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[2, 23], Operations: ['88/44=2', '50-27=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,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,2 Current State: 22:[27, 25], Operations: ['88/44=2', '50/2=25'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,22 unequal: No Solution Exploring Operation: 27*25=675, Resulting Numbers: [675] 675,22 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,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,0 Current State: 22:[50, 25], Operations: ['88/44=2', '27-2=25'] Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,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,1 Current State: 22:[27, 48], Operations: ['88/44=2', '50-2=48'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,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,4 Current State: 22:[27, 52], Operations: ['88/44=2', '50+2=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,22 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: 22:[27, 44, 38], Operations: ['88-50=38'] Exploring Operation: 44-27=17, Resulting Numbers: [38, 17] Generated Node #0,2,0: 22:[38, 17] Operation: 44-27=17 Exploring Operation: 27+38=65, Resulting Numbers: [44, 65] Generated Node #0,2,1: 22:[44, 65] Operation: 27+38=65 Exploring Operation: 44-38=6, Resulting Numbers: [27, 6] Generated Node #0,2,2: 22:[27, 6] Operation: 44-38=6 Exploring Operation: 38-27=11, Resulting Numbers: [44, 11] Generated Node #0,2,3: 22:[44, 11] Operation: 38-27=11 Exploring Operation: 27+44=71, Resulting Numbers: [38, 71] Generated Node #0,2,4: 22:[38, 71] Operation: 27+44=71 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[27, 6], Operations: ['88-50=38', '44-38=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,22 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[38, 17], Operations: ['88-50=38', '44-27=17'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,22 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[44, 11], Operations: ['88-50=38', '38-27=11'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,22 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[44, 65], Operations: ['88-50=38', '27+38=65'] Exploring Operation: 44*65=2860, Resulting Numbers: [2860] 2860,22 unequal: No Solution Exploring Operation: 44+65=109, Resulting Numbers: [109] 109,22 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[38, 71], Operations: ['88-50=38', '27+44=71'] Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 38+71=109, Resulting Numbers: [109] 109,22 unequal: No Solution Exploring Operation: 38*71=2698, Resulting Numbers: [2698] 2698,22 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: 22:[50, 27, 44], Operations: ['88-44=44'] Exploring Operation: 50+27=77, Resulting Numbers: [44, 77] Generated Node #0,4,0: 22:[44, 77] Operation: 50+27=77 Exploring Operation: 50-27=23, Resulting Numbers: [44, 23] Generated Node #0,4,1: 22:[44, 23] Operation: 50-27=23 Exploring Operation: 44-27=17, Resulting Numbers: [50, 17] Generated Node #0,4,2: 22:[50, 17] Operation: 44-27=17 Exploring Operation: 50-44=6, Resulting Numbers: [27, 6] Generated Node #0,4,3: 22:[27, 6] Operation: 50-44=6 Exploring Operation: 50+44=94, Resulting Numbers: [27, 94] Generated Node #0,4,4: 22:[27, 94] Operation: 50+44=94 Moving to Node #0,0 Current State: 22:[88, 27, 6], Operations: ['50-44=6'] Exploring Operation: 27-6=21, Resulting Numbers: [88, 21] Generated Node #0,0,0: 22:[88, 21] Operation: 27-6=21 Exploring Operation: 27+6=33, Resulting Numbers: [88, 33] Generated Node #0,0,1: 22:[88, 33] Operation: 27+6=33 Exploring Operation: 88+6=94, Resulting Numbers: [27, 94] Generated Node #0,0,2: 22:[27, 94] Operation: 88+6=94 Exploring Operation: 88-6=82, Resulting Numbers: [27, 82] Generated Node #0,0,3: 22:[27, 82] Operation: 88-6=82 Exploring Operation: 88-27=61, Resulting Numbers: [6, 61] Generated Node #0,0,4: 22:[6, 61] Operation: 88-27=61 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 22:[6, 61], Operations: ['50-44=6', '88-27=61'] Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,22 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,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,3 Current State: 22:[27, 82], Operations: ['50-44=6', '88-6=82'] Exploring Operation: 27*82=2214, Resulting Numbers: [2214] 2214,22 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 27+82=109, Resulting Numbers: [109] 109,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,0 Current State: 22:[88, 21], Operations: ['50-44=6', '27-6=21'] Exploring Operation: 88*21=1848, Resulting Numbers: [1848] 1848,22 unequal: No Solution Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 88+21=109, Resulting Numbers: [109] 109,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,1 Current State: 22:[88, 33], Operations: ['50-44=6', '27+6=33'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,22 unequal: No Solution Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,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,2 Current State: 22:[27, 94], Operations: ['50-44=6', '88+6=94'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,22 unequal: No Solution Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,22 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: 22:[50, 44, 61], Operations: ['88-27=61'] Exploring Operation: 50-44=6, Resulting Numbers: [61, 6] Generated Node #0,1,0: 22:[61, 6] Operation: 50-44=6 Exploring Operation: 50+61=111, Resulting Numbers: [44, 111] Generated Node #0,1,1: 22:[44, 111] Operation: 50+61=111 Exploring Operation: 50+44=94, Resulting Numbers: [61, 94] Generated Node #0,1,2: 22:[61, 94] Operation: 50+44=94 Exploring Operation: 61-44=17, Resulting Numbers: [50, 17] Generated Node #0,1,3: 22:[50, 17] Operation: 61-44=17 Exploring Operation: 61-50=11, Resulting Numbers: [44, 11] Generated Node #0,1,4: 22:[44, 11] Operation: 61-50=11 Moving to Node #0,4,3 Current State: 22:[27, 6], Operations: ['88-44=44', '50-44=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,22 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,22 unequal: No Solution Moving to Node #0,1,4 Current State: 22:[44, 11], Operations: ['88-27=61', '61-50=11'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,22 unequal: No Solution Moving to Node #0,4,1 Current State: 22:[44, 23], Operations: ['88-44=44', '50-27=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,22 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[50, 17], Operations: ['88-27=61', '61-44=17'] Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,22 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,22 unequal: No Solution Moving to Node #0,4,2 Current State: 22:[50, 17], Operations: ['88-44=44', '44-27=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 Moving to Node #0,1,0 Current State: 22:[61, 6], Operations: ['88-27=61', '50-44=6'] Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,22 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,22 unequal: No Solution Moving to Node #0,4,4 Current State: 22:[27, 94], Operations: ['88-44=44', '50+44=94'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,22 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[44, 77], Operations: ['88-44=44', '50+27=77'] Exploring Operation: 44*77=3388, Resulting Numbers: [3388] 3388,22 unequal: No Solution Exploring Operation: 44+77=121, Resulting Numbers: [121] 121,22 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[61, 94], Operations: ['88-27=61', '50+44=94'] Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 61+94=155, Resulting Numbers: [155] 155,22 unequal: No Solution Exploring Operation: 61*94=5734, Resulting Numbers: [5734] 5734,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[44, 111], Operations: ['88-27=61', '50+61=111'] Exploring Operation: 111-44=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 44+111=155, Resulting Numbers: [155] 155,22 unequal: No Solution Exploring Operation: 44*111=4884, Resulting Numbers: [4884] 4884,22 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 9, 44, 65, 70 ]
89
[ "70-65=5", "9*5=45", "44+45=89" ]
Current State: 89:[9, 44, 65, 70], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [9, 44, 5] Generated Node #2: [9, 44, 5] from Operation: 70-65=5 Current State: 89:[9, 44, 5], Operations: ['70-65=5'] Exploring Operation: 9*5=45, Resulting Numbers: [44, 45] Generated Node #3: [44, 45] from Operation: 9*5=45 Current State: 89:[44, 45], Operations: ['70-65=5', '9*5=45'] Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[9, 44, 65, 70], Operations: [] Exploring Operation: 9+65=74, Resulting Numbers: [44, 70, 74] Generated Node #0,0: 89:[44, 70, 74] Operation: 9+65=74 Exploring Operation: 9+44=53, Resulting Numbers: [65, 70, 53] Generated Node #0,1: 89:[65, 70, 53] Operation: 9+44=53 Moving to Node #0,0 Current State: 89:[44, 70, 74], Operations: ['9+65=74'] Exploring Operation: 44+70=114, Resulting Numbers: [74, 114] Generated Node #0,0,0: 89:[74, 114] Operation: 44+70=114 Exploring Operation: 44+74=118, Resulting Numbers: [70, 118] Generated Node #0,0,1: 89:[70, 118] Operation: 44+74=118 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[74, 114], Operations: ['9+65=74', '44+70=114'] Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 74+114=188, Resulting Numbers: [188] 188,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[70, 118], Operations: ['9+65=74', '44+74=118'] Exploring Operation: 70+118=188, Resulting Numbers: [188] 188,89 unequal: No Solution Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,89 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: 89:[65, 70, 53], Operations: ['9+44=53'] Exploring Operation: 70+53=123, Resulting Numbers: [65, 123] Generated Node #0,1,0: 89:[65, 123] Operation: 70+53=123 Exploring Operation: 65+53=118, Resulting Numbers: [70, 118] Generated Node #0,1,1: 89:[70, 118] Operation: 65+53=118 Moving to Node #0,1,1 Current State: 89:[70, 118], Operations: ['9+44=53', '65+53=118'] Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 70+118=188, Resulting Numbers: [188] 188,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[65, 123], Operations: ['9+44=53', '70+53=123'] Exploring Operation: 65+123=188, Resulting Numbers: [188] 188,89 unequal: No Solution Exploring Operation: 123-65=58, Resulting Numbers: [58] 58,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 98, 2, 57, 30 ]
95
[ "98+57=155", "2*30=60", "155-60=95" ]
Current State: 95:[98, 2, 57, 30], Operations: [] Exploring Operation: 98+57=155, Resulting Numbers: [2, 30, 155] Generated Node #2: [2, 30, 155] from Operation: 98+57=155 Current State: 95:[2, 30, 155], Operations: ['98+57=155'] Exploring Operation: 2*30=60, Resulting Numbers: [155, 60] Generated Node #3: [155, 60] from Operation: 2*30=60 Current State: 95:[155, 60], Operations: ['98+57=155', '2*30=60'] Exploring Operation: 155-60=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[98, 2, 57, 30], Operations: [] Exploring Operation: 57+30=87, Resulting Numbers: [98, 2, 87] Generated Node #0,0: 95:[98, 2, 87] Operation: 57+30=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[98, 2, 87], Operations: ['57+30=87'] Exploring Operation: 98-2=96, Resulting Numbers: [87, 96] Generated Node #0,0,0: 95:[87, 96] Operation: 98-2=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[87, 96], Operations: ['57+30=87', '98-2=96'] Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 13, 39, 31, 16 ]
11
[ "13*39=507", "31*16=496", "507-496=11" ]
Current State: 11:[13, 39, 31, 16], Operations: [] Exploring Operation: 13*39=507, Resulting Numbers: [31, 16, 507] Generated Node #2: [31, 16, 507] from Operation: 13*39=507 Current State: 11:[31, 16, 507], Operations: ['13*39=507'] Exploring Operation: 31*16=496, Resulting Numbers: [507, 496] Generated Node #3: [507, 496] from Operation: 31*16=496 Current State: 11:[507, 496], Operations: ['13*39=507', '31*16=496'] Exploring Operation: 507-496=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[13, 39, 31, 16], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [13, 16, 8] Generated Node #0,0: 11:[13, 16, 8] Operation: 39-31=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[13, 16, 8], Operations: ['39-31=8'] Exploring Operation: 16-8=8, Resulting Numbers: [13, 8] Generated Node #0,0,0: 11:[13, 8] Operation: 16-8=8 Moving to Node #0,0,0 Current State: 11:[13, 8], Operations: ['39-31=8', '16-8=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,11 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
[ 45, 4, 35, 33 ]
52
[ "45+35=80", "4*33=132", "132-80=52" ]
Current State: 52:[45, 4, 35, 33], Operations: [] Exploring Operation: 45+35=80, Resulting Numbers: [4, 33, 80] Generated Node #2: [4, 33, 80] from Operation: 45+35=80 Current State: 52:[4, 33, 80], Operations: ['45+35=80'] Exploring Operation: 4*33=132, Resulting Numbers: [80, 132] Generated Node #3: [80, 132] from Operation: 4*33=132 Current State: 52:[80, 132], Operations: ['45+35=80', '4*33=132'] Exploring Operation: 132-80=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[45, 4, 35, 33], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [4, 33, 10] Generated Node #0,0: 52:[4, 33, 10] Operation: 45-35=10 Exploring Operation: 35-33=2, Resulting Numbers: [45, 4, 2] Generated Node #0,1: 52:[45, 4, 2] Operation: 35-33=2 Moving to Node #0,1 Current State: 52:[45, 4, 2], Operations: ['35-33=2'] Exploring Operation: 45+4=49, Resulting Numbers: [2, 49] Generated Node #0,1,0: 52:[2, 49] Operation: 45+4=49 Exploring Operation: 45+2=47, Resulting Numbers: [4, 47] Generated Node #0,1,1: 52:[4, 47] Operation: 45+2=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[2, 49], Operations: ['35-33=2', '45+4=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[4, 47], Operations: ['35-33=2', '45+2=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,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:[4, 33, 10], Operations: ['45-35=10'] Exploring Operation: 33-10=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 52:[4, 23] Operation: 33-10=23 Exploring Operation: 33-4=29, Resulting Numbers: [10, 29] Generated Node #0,0,1: 52:[10, 29] Operation: 33-4=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 23], Operations: ['45-35=10', '33-10=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[10, 29], Operations: ['45-35=10', '33-4=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,52 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
[ 93, 99, 21, 97 ]
70
[ "99-93=6", "97-21=76", "76-6=70" ]
Current State: 70:[93, 99, 21, 97], Operations: [] Exploring Operation: 99-93=6, Resulting Numbers: [21, 97, 6] Generated Node #2: [21, 97, 6] from Operation: 99-93=6 Current State: 70:[21, 97, 6], Operations: ['99-93=6'] Exploring Operation: 97-21=76, Resulting Numbers: [6, 76] Generated Node #3: [6, 76] from Operation: 97-21=76 Current State: 70:[6, 76], Operations: ['99-93=6', '97-21=76'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[93, 99, 21, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [93, 21, 2] Generated Node #0,0: 70:[93, 21, 2] Operation: 99-97=2 Exploring Operation: 99-93=6, Resulting Numbers: [21, 97, 6] Generated Node #0,1: 70:[21, 97, 6] Operation: 99-93=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[93, 21, 2], Operations: ['99-97=2'] Exploring Operation: 93-2=91, Resulting Numbers: [21, 91] Generated Node #0,0,0: 70:[21, 91] Operation: 93-2=91 Exploring Operation: 93-21=72, Resulting Numbers: [2, 72] Generated Node #0,0,1: 70:[2, 72] Operation: 93-21=72 Moving to Node #0,0,1 Current State: 70:[2, 72], Operations: ['99-97=2', '93-21=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[93, 99, 21, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [93, 21, 2] Generated Node #0,0: 70:[93, 21, 2] Operation: 99-97=2 Moving to Node #0,0 Current State: 70:[93, 21, 2], Operations: ['99-97=2'] Exploring Operation: 93-21=72, Resulting Numbers: [2, 72] Generated Node #0,0,1: 70:[2, 72] Operation: 93-21=72 Moving to Node #0,0,1 Current State: 70:[2, 72], Operations: ['99-97=2', '93-21=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 51, 26, 80, 79 ]
40
[ "51+26=77", "79-77=2", "80/2=40" ]
Current State: 40:[51, 26, 80, 79], Operations: [] Exploring Operation: 51+26=77, Resulting Numbers: [80, 79, 77] Generated Node #2: [80, 79, 77] from Operation: 51+26=77 Current State: 40:[80, 79, 77], Operations: ['51+26=77'] Exploring Operation: 79-77=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 79-77=2 Current State: 40:[80, 2], Operations: ['51+26=77', '79-77=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[51, 26, 80, 79], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [51, 26, 1] Generated Node #0,0: 40:[51, 26, 1] Operation: 80-79=1 Exploring Operation: 80-51=29, Resulting Numbers: [26, 79, 29] Generated Node #0,1: 40:[26, 79, 29] Operation: 80-51=29 Exploring Operation: 79-51=28, Resulting Numbers: [26, 80, 28] Generated Node #0,2: 40:[26, 80, 28] Operation: 79-51=28 Moving to Node #0,0 Current State: 40:[51, 26, 1], Operations: ['80-79=1'] Exploring Operation: 51-1=50, Resulting Numbers: [26, 50] Generated Node #0,0,0: 40:[26, 50] Operation: 51-1=50 Exploring Operation: 51-26=25, Resulting Numbers: [1, 25] Generated Node #0,0,1: 40:[1, 25] Operation: 51-26=25 Exploring Operation: 26-1=25, Resulting Numbers: [51, 25] Generated Node #0,0,2: 40:[51, 25] Operation: 26-1=25 Moving to Node #0,1 Current State: 40:[26, 79, 29], Operations: ['80-51=29'] Exploring Operation: 79-29=50, Resulting Numbers: [26, 50] Generated Node #0,1,0: 40:[26, 50] Operation: 79-29=50 Exploring Operation: 29-26=3, Resulting Numbers: [79, 3] Generated Node #0,1,1: 40:[79, 3] Operation: 29-26=3 Exploring Operation: 79-26=53, Resulting Numbers: [29, 53] Generated Node #0,1,2: 40:[29, 53] Operation: 79-26=53 Moving to Node #0,2 Current State: 40:[26, 80, 28], Operations: ['79-51=28'] Exploring Operation: 28-26=2, Resulting Numbers: [80, 2] Generated Node #0,2,0: 40:[80, 2] Operation: 28-26=2 Exploring Operation: 80-26=54, Resulting Numbers: [28, 54] Generated Node #0,2,1: 40:[28, 54] Operation: 80-26=54 Exploring Operation: 80-28=52, Resulting Numbers: [26, 52] Generated Node #0,2,2: 40:[26, 52] Operation: 80-28=52 Moving to Node #0,0,1 Current State: 40:[1, 25], Operations: ['80-79=1', '51-26=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[51, 25], Operations: ['80-79=1', '26-1=25'] Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,40 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,40 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[26, 50], Operations: ['80-79=1', '51-1=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,40 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[26, 50], Operations: ['80-51=29', '79-29=50'] Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,40 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,40 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[26, 52], Operations: ['79-51=28', '80-28=52'] Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[29, 53], Operations: ['80-51=29', '79-26=53'] Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,40 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[28, 54], Operations: ['79-51=28', '80-26=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,40 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[80, 2], Operations: ['79-51=28', '28-26=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[51, 26, 80, 79], Operations: [] Exploring Operation: 79-51=28, Resulting Numbers: [26, 80, 28] Generated Node #0,2: 40:[26, 80, 28] Operation: 79-51=28 Moving to Node #0,2 Current State: 40:[26, 80, 28], Operations: ['79-51=28'] Exploring Operation: 28-26=2, Resulting Numbers: [80, 2] Generated Node #0,2,0: 40:[80, 2] Operation: 28-26=2 Moving to Node #0,2,0 Current State: 40:[80, 2], Operations: ['79-51=28', '28-26=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.965278
hs_3
mult_heuristic
[ 10, 50, 34, 62 ]
86
[ "62-50=12", "10*12=120", "120-34=86" ]
Current State: 86:[10, 50, 34, 62], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [10, 34, 12] Generated Node #2: [10, 34, 12] from Operation: 62-50=12 Current State: 86:[10, 34, 12], Operations: ['62-50=12'] Exploring Operation: 10*12=120, Resulting Numbers: [34, 120] Generated Node #3: [34, 120] from Operation: 10*12=120 Current State: 86:[34, 120], Operations: ['62-50=12', '10*12=120'] Exploring Operation: 120-34=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[10, 50, 34, 62], Operations: [] Exploring Operation: 62-10=52, Resulting Numbers: [50, 34, 52] Generated Node #0,0: 86:[50, 34, 52] Operation: 62-10=52 Moving to Node #0,0 Current State: 86:[50, 34, 52], Operations: ['62-10=52'] Exploring Operation: 34+52=86, Resulting Numbers: [50, 86] Generated Node #0,0,0: 86:[50, 86] Operation: 34+52=86 Moving to Node #0,0,0 Current State: 86:[50, 86], Operations: ['62-10=52', '34+52=86'] Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,86 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 25, 73, 25 ]
100
[ "76-73=3", "25*3=75", "25+75=100" ]
Current State: 100:[76, 25, 73, 25], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [25, 25, 3] Generated Node #2: [25, 25, 3] from Operation: 76-73=3 Current State: 100:[25, 25, 3], Operations: ['76-73=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,100 equal: Goal Reached Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[76, 25, 73, 25], Operations: [] Exploring Operation: 76+25=101, Resulting Numbers: [73, 25, 101] Generated Node #0,0: 100:[73, 25, 101] Operation: 76+25=101 Exploring Operation: 76-25=51, Resulting Numbers: [25, 73, 51] Generated Node #0,1: 100:[25, 73, 51] Operation: 76-25=51 Exploring Operation: 76-73=3, Resulting Numbers: [25, 25, 3] Generated Node #0,2: 100:[25, 25, 3] Operation: 76-73=3 Exploring Operation: 76+25=101, Resulting Numbers: [25, 73, 101] Generated Node #0,3: 100:[25, 73, 101] Operation: 76+25=101 Exploring Operation: 76-25=51, Resulting Numbers: [73, 25, 51] Generated Node #0,4: 100:[73, 25, 51] Operation: 76-25=51 Moving to Node #0,2 Current State: 100:[25, 25, 3], Operations: ['76-73=3'] Exploring Operation: 25-25=0, Resulting Numbers: [3, 0] Generated Node #0,2,0: 100:[3, 0] Operation: 25-25=0 Exploring Operation: 25-3=22, Resulting Numbers: [25, 22] Generated Node #0,2,1: 100:[25, 22] Operation: 25-3=22 Exploring Operation: 25+25=50, Resulting Numbers: [3, 50] Generated Node #0,2,2: 100:[3, 50] Operation: 25+25=50 Exploring Operation: 25-3=22, Resulting Numbers: [25, 22] Generated Node #0,2,3: 100:[25, 22] Operation: 25-3=22 Exploring Operation: 25/25=1, Resulting Numbers: [3, 1] Generated Node #0,2,4: 100:[3, 1] Operation: 25/25=1 Moving to Node #0,1 Current State: 100:[25, 73, 51], Operations: ['76-25=51'] Exploring Operation: 73-51=22, Resulting Numbers: [25, 22] Generated Node #0,1,0: 100:[25, 22] Operation: 73-51=22 Exploring Operation: 51-25=26, Resulting Numbers: [73, 26] Generated Node #0,1,1: 100:[73, 26] Operation: 51-25=26 Exploring Operation: 73+51=124, Resulting Numbers: [25, 124] Generated Node #0,1,2: 100:[25, 124] Operation: 73+51=124 Exploring Operation: 25+73=98, Resulting Numbers: [51, 98] Generated Node #0,1,3: 100:[51, 98] Operation: 25+73=98 Exploring Operation: 73-25=48, Resulting Numbers: [51, 48] Generated Node #0,1,4: 100:[51, 48] Operation: 73-25=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[25, 22], Operations: ['76-25=51', '73-51=22'] Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[51, 98], Operations: ['76-25=51', '25+73=98'] Exploring Operation: 51*98=4998, Resulting Numbers: [4998] 4998,100 unequal: No Solution Exploring Operation: 51+98=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 100:[51, 48], Operations: ['76-25=51', '73-25=48'] Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,100 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[73, 26], Operations: ['76-25=51', '51-25=26'] Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,100 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[25, 124], Operations: ['76-25=51', '73+51=124'] Exploring Operation: 25*124=3100, Resulting Numbers: [3100] 3100,100 unequal: No Solution Exploring Operation: 25+124=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 124-25=99, Resulting Numbers: [99] 99,100 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: 100:[73, 25, 51], Operations: ['76-25=51'] Exploring Operation: 73+25=98, Resulting Numbers: [51, 98] Generated Node #0,4,0: 100:[51, 98] Operation: 73+25=98 Exploring Operation: 73-25=48, Resulting Numbers: [51, 48] Generated Node #0,4,1: 100:[51, 48] Operation: 73-25=48 Exploring Operation: 51-25=26, Resulting Numbers: [73, 26] Generated Node #0,4,2: 100:[73, 26] Operation: 51-25=26 Exploring Operation: 73-51=22, Resulting Numbers: [25, 22] Generated Node #0,4,3: 100:[25, 22] Operation: 73-51=22 Exploring Operation: 73+51=124, Resulting Numbers: [25, 124] Generated Node #0,4,4: 100:[25, 124] Operation: 73+51=124 Moving to Node #0,0 Current State: 100:[73, 25, 101], Operations: ['76+25=101'] Exploring Operation: 73+25=98, Resulting Numbers: [101, 98] Generated Node #0,0,0: 100:[101, 98] Operation: 73+25=98 Exploring Operation: 101-25=76, Resulting Numbers: [73, 76] Generated Node #0,0,1: 100:[73, 76] Operation: 101-25=76 Exploring Operation: 101-73=28, Resulting Numbers: [25, 28] Generated Node #0,0,2: 100:[25, 28] Operation: 101-73=28 Exploring Operation: 25+101=126, Resulting Numbers: [73, 126] Generated Node #0,0,3: 100:[73, 126] Operation: 25+101=126 Exploring Operation: 73-25=48, Resulting Numbers: [101, 48] Generated Node #0,0,4: 100:[101, 48] Operation: 73-25=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[101, 98], Operations: ['76+25=101', '73+25=98'] Exploring Operation: 101*98=9898, Resulting Numbers: [9898] 9898,100 unequal: No Solution Exploring Operation: 101-98=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 101+98=199, Resulting Numbers: [199] 199,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:[25, 28], Operations: ['76+25=101', '101-73=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,100 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,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,4 Current State: 100:[101, 48], Operations: ['76+25=101', '73-25=48'] Exploring Operation: 101+48=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 101*48=4848, Resulting Numbers: [4848] 4848,100 unequal: No Solution Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,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:[73, 76], Operations: ['76+25=101', '101-25=76'] Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 73*76=5548, Resulting Numbers: [5548] 5548,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,3 Current State: 100:[73, 126], Operations: ['76+25=101', '25+101=126'] Exploring Operation: 73+126=199, Resulting Numbers: [199] 199,100 unequal: No Solution Exploring Operation: 73*126=9198, Resulting Numbers: [9198] 9198,100 unequal: No Solution Exploring Operation: 126-73=53, Resulting Numbers: [53] 53,100 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: 100:[25, 73, 101], Operations: ['76+25=101'] Exploring Operation: 73-25=48, Resulting Numbers: [101, 48] Generated Node #0,3,0: 100:[101, 48] Operation: 73-25=48 Exploring Operation: 101-73=28, Resulting Numbers: [25, 28] Generated Node #0,3,1: 100:[25, 28] Operation: 101-73=28 Exploring Operation: 25+73=98, Resulting Numbers: [101, 98] Generated Node #0,3,2: 100:[101, 98] Operation: 25+73=98 Exploring Operation: 101-25=76, Resulting Numbers: [73, 76] Generated Node #0,3,3: 100:[73, 76] Operation: 101-25=76 Exploring Operation: 25+101=126, Resulting Numbers: [73, 126] Generated Node #0,3,4: 100:[73, 126] Operation: 25+101=126 Moving to Node #0,2,2 Current State: 100:[3, 50], Operations: ['76-73=3', '25+25=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,100 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[25, 22], Operations: ['76-73=3', '25-3=22'] Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,100 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[25, 22], Operations: ['76-25=51', '73-51=22'] Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,100 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[25, 22], Operations: ['76-73=3', '25-3=22'] Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,100 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[3, 1], Operations: ['76-73=3', '25/25=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,4,0 Current State: 100:[51, 98], Operations: ['76-25=51', '73+25=98'] Exploring Operation: 51*98=4998, Resulting Numbers: [4998] 4998,100 unequal: No Solution Exploring Operation: 51+98=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[101, 98], Operations: ['76+25=101', '25+73=98'] Exploring Operation: 101+98=199, Resulting Numbers: [199] 199,100 unequal: No Solution Exploring Operation: 101*98=9898, Resulting Numbers: [9898] 9898,100 unequal: No Solution Exploring Operation: 101-98=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[25, 28], Operations: ['76+25=101', '101-73=28'] Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,100 unequal: No Solution Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[3, 0], Operations: ['76-73=3', '25-25=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[101, 48], Operations: ['76+25=101', '73-25=48'] Exploring Operation: 101+48=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 101*48=4848, Resulting Numbers: [4848] 4848,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[51, 48], Operations: ['76-25=51', '73-25=48'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[25, 124], Operations: ['76-25=51', '73+51=124'] Exploring Operation: 25+124=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 124-25=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 25*124=3100, Resulting Numbers: [3100] 3100,100 unequal: No Solution Moving to Node #0,4,2 Current State: 100:[73, 26], Operations: ['76-25=51', '51-25=26'] Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[73, 76], Operations: ['76+25=101', '101-25=76'] Exploring Operation: 73*76=5548, Resulting Numbers: [5548] 5548,100 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[73, 126], Operations: ['76+25=101', '25+101=126'] Exploring Operation: 73*126=9198, Resulting Numbers: [9198] 9198,100 unequal: No Solution Exploring Operation: 126-73=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 73+126=199, Resulting Numbers: [199] 199,100 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 50, 48, 5, 86 ]
28
[ "50/5=10", "86-48=38", "38-10=28" ]
Current State: 28:[50, 48, 5, 86], Operations: [] Exploring Operation: 50/5=10, Resulting Numbers: [48, 86, 10] Generated Node #2: [48, 86, 10] from Operation: 50/5=10 Current State: 28:[48, 86, 10], Operations: ['50/5=10'] Exploring Operation: 86-48=38, Resulting Numbers: [10, 38] Generated Node #3: [10, 38] from Operation: 86-48=38 Current State: 28:[10, 38], Operations: ['50/5=10', '86-48=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[50, 48, 5, 86], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [48, 86, 45] Generated Node #0,0: 28:[48, 86, 45] Operation: 50-5=45 Exploring Operation: 86-50=36, Resulting Numbers: [48, 5, 36] Generated Node #0,1: 28:[48, 5, 36] Operation: 86-50=36 Exploring Operation: 50/5=10, Resulting Numbers: [48, 86, 10] Generated Node #0,2: 28:[48, 86, 10] Operation: 50/5=10 Exploring Operation: 50-48=2, Resulting Numbers: [5, 86, 2] Generated Node #0,3: 28:[5, 86, 2] Operation: 50-48=2 Exploring Operation: 86-48=38, Resulting Numbers: [50, 5, 38] Generated Node #0,4: 28:[50, 5, 38] Operation: 86-48=38 Moving to Node #0,1 Current State: 28:[48, 5, 36], Operations: ['86-50=36'] Exploring Operation: 36-5=31, Resulting Numbers: [48, 31] Generated Node #0,1,0: 28:[48, 31] Operation: 36-5=31 Exploring Operation: 48-36=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 28:[5, 12] Operation: 48-36=12 Exploring Operation: 48+5=53, Resulting Numbers: [36, 53] Generated Node #0,1,2: 28:[36, 53] Operation: 48+5=53 Exploring Operation: 48-5=43, Resulting Numbers: [36, 43] Generated Node #0,1,3: 28:[36, 43] Operation: 48-5=43 Exploring Operation: 5+36=41, Resulting Numbers: [48, 41] Generated Node #0,1,4: 28:[48, 41] Operation: 5+36=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[5, 12], Operations: ['86-50=36', '48-36=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,28 unequal: No Solution No 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: 28:[48, 31], Operations: ['86-50=36', '36-5=31'] Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,28 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,28 unequal: No Solution No 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: 28:[36, 43], Operations: ['86-50=36', '48-5=43'] Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,28 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,28 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,28 unequal: No Solution No 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: 28:[36, 53], Operations: ['86-50=36', '48+5=53'] Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,28 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,28 unequal: No Solution No 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: 28:[48, 41], Operations: ['86-50=36', '5+36=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,28 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: 28:[50, 5, 38], Operations: ['86-48=38'] Exploring Operation: 50/5=10, Resulting Numbers: [38, 10] Generated Node #0,4,0: 28:[38, 10] Operation: 50/5=10 Exploring Operation: 50+5=55, Resulting Numbers: [38, 55] Generated Node #0,4,1: 28:[38, 55] Operation: 50+5=55 Exploring Operation: 38-5=33, Resulting Numbers: [50, 33] Generated Node #0,4,2: 28:[50, 33] Operation: 38-5=33 Exploring Operation: 50-38=12, Resulting Numbers: [5, 12] Generated Node #0,4,3: 28:[5, 12] Operation: 50-38=12 Exploring Operation: 50-5=45, Resulting Numbers: [38, 45] Generated Node #0,4,4: 28:[38, 45] Operation: 50-5=45 Moving to Node #0,3 Current State: 28:[5, 86, 2], Operations: ['50-48=2'] Exploring Operation: 86/2=43, Resulting Numbers: [5, 43] Generated Node #0,3,0: 28:[5, 43] Operation: 86/2=43 Exploring Operation: 5+2=7, Resulting Numbers: [86, 7] Generated Node #0,3,1: 28:[86, 7] Operation: 5+2=7 Exploring Operation: 5-2=3, Resulting Numbers: [86, 3] Generated Node #0,3,2: 28:[86, 3] Operation: 5-2=3 Exploring Operation: 86-5=81, Resulting Numbers: [2, 81] Generated Node #0,3,3: 28:[2, 81] Operation: 86-5=81 Exploring Operation: 86-2=84, Resulting Numbers: [5, 84] Generated Node #0,3,4: 28:[5, 84] Operation: 86-2=84 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[5, 43], Operations: ['50-48=2', '86/2=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,28 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,28 unequal: No Solution No 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: 28:[2, 81], Operations: ['50-48=2', '86-5=81'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,28 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,28 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,28 unequal: No Solution No 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: 28:[5, 84], Operations: ['50-48=2', '86-2=84'] Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,28 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,28 unequal: No Solution No 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: 28:[86, 7], Operations: ['50-48=2', '5+2=7'] Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,28 unequal: No Solution Exploring Operation: 86*7=602, Resulting Numbers: [602] 602,28 unequal: No Solution Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,28 unequal: No Solution No 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: 28:[86, 3], Operations: ['50-48=2', '5-2=3'] Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,28 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,28 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: 28:[48, 86, 10], Operations: ['50/5=10'] Exploring Operation: 48-10=38, Resulting Numbers: [86, 38] Generated Node #0,2,0: 28:[86, 38] Operation: 48-10=38 Exploring Operation: 86-48=38, Resulting Numbers: [10, 38] Generated Node #0,2,1: 28:[10, 38] Operation: 86-48=38 Exploring Operation: 86-10=76, Resulting Numbers: [48, 76] Generated Node #0,2,2: 28:[48, 76] Operation: 86-10=76 Exploring Operation: 48+10=58, Resulting Numbers: [86, 58] Generated Node #0,2,3: 28:[86, 58] Operation: 48+10=58 Exploring Operation: 86+10=96, Resulting Numbers: [48, 96] Generated Node #0,2,4: 28:[48, 96] Operation: 86+10=96 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[10, 38], Operations: ['50/5=10', '86-48=38'] Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,28 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[50, 48, 5, 86], Operations: [] Exploring Operation: 50/5=10, Resulting Numbers: [48, 86, 10] Generated Node #0,2: 28:[48, 86, 10] Operation: 50/5=10 Moving to Node #0,2 Current State: 28:[48, 86, 10], Operations: ['50/5=10'] Exploring Operation: 86-48=38, Resulting Numbers: [10, 38] Generated Node #0,2,1: 28:[10, 38] Operation: 86-48=38 Moving to Node #0,2,1 Current State: 28:[10, 38], Operations: ['50/5=10', '86-48=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
mult_heuristic
[ 6, 29, 66, 66 ]
36
[ "6+29=35", "66/66=1", "35+1=36" ]
Current State: 36:[6, 29, 66, 66], Operations: [] Exploring Operation: 6+29=35, Resulting Numbers: [66, 66, 35] Generated Node #2: [66, 66, 35] from Operation: 6+29=35 Current State: 36:[66, 66, 35], Operations: ['6+29=35'] Exploring Operation: 66/66=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 66/66=1 Current State: 36:[35, 1], Operations: ['6+29=35', '66/66=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[6, 29, 66, 66], Operations: [] Exploring Operation: 66-66=0, Resulting Numbers: [6, 29, 0] Generated Node #0,0: 36:[6, 29, 0] Operation: 66-66=0 Exploring Operation: 66/66=1, Resulting Numbers: [6, 29, 1] Generated Node #0,1: 36:[6, 29, 1] Operation: 66/66=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[6, 29, 1], Operations: ['66/66=1'] Exploring Operation: 6+29=35, Resulting Numbers: [1, 35] Generated Node #0,1,0: 36:[1, 35] Operation: 6+29=35 Exploring Operation: 29-6=23, Resulting Numbers: [1, 23] Generated Node #0,1,1: 36:[1, 23] Operation: 29-6=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[1, 35], Operations: ['66/66=1', '6+29=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[6, 29, 66, 66], Operations: [] Exploring Operation: 66/66=1, Resulting Numbers: [6, 29, 1] Generated Node #0,1: 36:[6, 29, 1] Operation: 66/66=1 Moving to Node #0,1 Current State: 36:[6, 29, 1], Operations: ['66/66=1'] Exploring Operation: 6+29=35, Resulting Numbers: [1, 35] Generated Node #0,1,0: 36:[1, 35] Operation: 6+29=35 Moving to Node #0,1,0 Current State: 36:[1, 35], Operations: ['66/66=1', '6+29=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 92, 1, 25, 49 ]
94
[ "1+49=50", "50/25=2", "92+2=94" ]
Current State: 94:[92, 1, 25, 49], Operations: [] Exploring Operation: 1+49=50, Resulting Numbers: [92, 25, 50] Generated Node #2: [92, 25, 50] from Operation: 1+49=50 Current State: 94:[92, 25, 50], Operations: ['1+49=50'] Exploring Operation: 50/25=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 50/25=2 Current State: 94:[92, 2], Operations: ['1+49=50', '50/25=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[92, 1, 25, 49], Operations: [] Exploring Operation: 25+49=74, Resulting Numbers: [92, 1, 74] Generated Node #0,0: 94:[92, 1, 74] Operation: 25+49=74 Exploring Operation: 92+1=93, Resulting Numbers: [25, 49, 93] Generated Node #0,1: 94:[25, 49, 93] Operation: 92+1=93 Exploring Operation: 92-25=67, Resulting Numbers: [1, 49, 67] Generated Node #0,2: 94:[1, 49, 67] Operation: 92-25=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[92, 1, 74], Operations: ['25+49=74'] Exploring Operation: 92+1=93, Resulting Numbers: [74, 93] Generated Node #0,0,0: 94:[74, 93] Operation: 92+1=93 Exploring Operation: 1+74=75, Resulting Numbers: [92, 75] Generated Node #0,0,1: 94:[92, 75] Operation: 1+74=75 Exploring Operation: 92-74=18, Resulting Numbers: [1, 18] Generated Node #0,0,2: 94:[1, 18] Operation: 92-74=18 Moving to Node #0,0,2 Current State: 94:[1, 18], Operations: ['25+49=74', '92-74=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[74, 93], Operations: ['25+49=74', '92+1=93'] Exploring Operation: 74+93=167, Resulting Numbers: [167] 167,94 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 74*93=6882, Resulting Numbers: [6882] 6882,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[92, 75], Operations: ['25+49=74', '1+74=75'] Exploring Operation: 92*75=6900, Resulting Numbers: [6900] 6900,94 unequal: No Solution Exploring Operation: 92+75=167, Resulting Numbers: [167] 167,94 unequal: No Solution Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[1, 49, 67], Operations: ['92-25=67'] Exploring Operation: 67-49=18, Resulting Numbers: [1, 18] Generated Node #0,2,0: 94:[1, 18] Operation: 67-49=18 Exploring Operation: 49-1=48, Resulting Numbers: [67, 48] Generated Node #0,2,1: 94:[67, 48] Operation: 49-1=48 Exploring Operation: 67-1=66, Resulting Numbers: [49, 66] Generated Node #0,2,2: 94:[49, 66] Operation: 67-1=66 Moving to Node #0,2,0 Current State: 94:[1, 18], Operations: ['92-25=67', '67-49=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[67, 48], Operations: ['92-25=67', '49-1=48'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,94 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[49, 66], Operations: ['92-25=67', '67-1=66'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,94 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[25, 49, 93], Operations: ['92+1=93'] Exploring Operation: 93-25=68, Resulting Numbers: [49, 68] Generated Node #0,1,0: 94:[49, 68] Operation: 93-25=68 Exploring Operation: 49-25=24, Resulting Numbers: [93, 24] Generated Node #0,1,1: 94:[93, 24] Operation: 49-25=24 Exploring Operation: 25+49=74, Resulting Numbers: [93, 74] Generated Node #0,1,2: 94:[93, 74] Operation: 25+49=74 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[93, 74], Operations: ['92+1=93', '25+49=74'] Exploring Operation: 93+74=167, Resulting Numbers: [167] 167,94 unequal: No Solution Exploring Operation: 93*74=6882, Resulting Numbers: [6882] 6882,94 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[49, 68], Operations: ['92+1=93', '93-25=68'] Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,94 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[93, 24], Operations: ['92+1=93', '49-25=24'] Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,94 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,94 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 50, 95, 98, 40 ]
22
[ "95*40=3800", "3800/50=76", "98-76=22" ]
Current State: 22:[50, 95, 98, 40], Operations: [] Exploring Operation: 95*40=3800, Resulting Numbers: [50, 98, 3800] Generated Node #2: [50, 98, 3800] from Operation: 95*40=3800 Current State: 22:[50, 98, 3800], Operations: ['95*40=3800'] Exploring Operation: 3800/50=76, Resulting Numbers: [98, 76] Generated Node #3: [98, 76] from Operation: 3800/50=76 Current State: 22:[98, 76], Operations: ['95*40=3800', '3800/50=76'] Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[50, 95, 98, 40], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [98, 40, 45] Generated Node #0,0: 22:[98, 40, 45] Operation: 95-50=45 Exploring Operation: 98-95=3, Resulting Numbers: [50, 40, 3] Generated Node #0,1: 22:[50, 40, 3] Operation: 98-95=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[50, 40, 3], Operations: ['98-95=3'] Exploring Operation: 50-40=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 22:[3, 10] Operation: 50-40=10 Exploring Operation: 50-3=47, Resulting Numbers: [40, 47] Generated Node #0,1,1: 22:[40, 47] Operation: 50-3=47 Moving to Node #0,1,0 Current State: 22:[3, 10], Operations: ['98-95=3', '50-40=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[40, 47], Operations: ['98-95=3', '50-3=47'] Exploring Operation: 40+47=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[98, 40, 45], Operations: ['95-50=45'] Exploring Operation: 98-45=53, Resulting Numbers: [40, 53] Generated Node #0,0,0: 22:[40, 53] Operation: 98-45=53 Exploring Operation: 98-40=58, Resulting Numbers: [45, 58] Generated Node #0,0,1: 22:[45, 58] Operation: 98-40=58 Moving to Node #0,0,0 Current State: 22:[40, 53], Operations: ['95-50=45', '98-45=53'] Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[45, 58], Operations: ['95-50=45', '98-40=58'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 45+58=103, Resulting Numbers: [103] 103,22 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
[ 4, 30, 71, 48 ]
97
[ "4*30=120", "71-48=23", "120-23=97" ]
Current State: 97:[4, 30, 71, 48], Operations: [] Exploring Operation: 4*30=120, Resulting Numbers: [71, 48, 120] Generated Node #2: [71, 48, 120] from Operation: 4*30=120 Current State: 97:[71, 48, 120], Operations: ['4*30=120'] Exploring Operation: 71-48=23, Resulting Numbers: [120, 23] Generated Node #3: [120, 23] from Operation: 71-48=23 Current State: 97:[120, 23], Operations: ['4*30=120', '71-48=23'] Exploring Operation: 120-23=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[4, 30, 71, 48], Operations: [] Exploring Operation: 4*30=120, Resulting Numbers: [71, 48, 120] Generated Node #0,0: 97:[71, 48, 120] Operation: 4*30=120 Exploring Operation: 4+71=75, Resulting Numbers: [30, 48, 75] Generated Node #0,1: 97:[30, 48, 75] Operation: 4+71=75 Exploring Operation: 4+30=34, Resulting Numbers: [71, 48, 34] Generated Node #0,2: 97:[71, 48, 34] Operation: 4+30=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[71, 48, 120], Operations: ['4*30=120'] Exploring Operation: 71+48=119, Resulting Numbers: [120, 119] Generated Node #0,0,0: 97:[120, 119] Operation: 71+48=119 Exploring Operation: 71-48=23, Resulting Numbers: [120, 23] Generated Node #0,0,1: 97:[120, 23] Operation: 71-48=23 Exploring Operation: 120-48=72, Resulting Numbers: [71, 72] Generated Node #0,0,2: 97:[71, 72] Operation: 120-48=72 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[120, 119], Operations: ['4*30=120', '71+48=119'] Exploring Operation: 120-119=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 120+119=239, Resulting Numbers: [239] 239,97 unequal: No Solution Exploring Operation: 120*119=14280, Resulting Numbers: [14280] 14280,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[71, 72], Operations: ['4*30=120', '120-48=72'] Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[120, 23], Operations: ['4*30=120', '71-48=23'] Exploring Operation: 120*23=2760, Resulting Numbers: [2760] 2760,97 unequal: No Solution Exploring Operation: 120+23=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 120-23=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[4, 30, 71, 48], Operations: [] Exploring Operation: 4*30=120, Resulting Numbers: [71, 48, 120] Generated Node #0,0: 97:[71, 48, 120] Operation: 4*30=120 Moving to Node #0,0 Current State: 97:[71, 48, 120], Operations: ['4*30=120'] Exploring Operation: 71-48=23, Resulting Numbers: [120, 23] Generated Node #0,0,1: 97:[120, 23] Operation: 71-48=23 Moving to Node #0,0,1 Current State: 97:[120, 23], Operations: ['4*30=120', '71-48=23'] Exploring Operation: 120-23=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 79, 11, 8, 36 ]
27
[ "79+36=115", "11*8=88", "115-88=27" ]
Current State: 27:[79, 11, 8, 36], Operations: [] Exploring Operation: 79+36=115, Resulting Numbers: [11, 8, 115] Generated Node #2: [11, 8, 115] from Operation: 79+36=115 Current State: 27:[11, 8, 115], Operations: ['79+36=115'] Exploring Operation: 11*8=88, Resulting Numbers: [115, 88] Generated Node #3: [115, 88] from Operation: 11*8=88 Current State: 27:[115, 88], Operations: ['79+36=115', '11*8=88'] Exploring Operation: 115-88=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[79, 11, 8, 36], Operations: [] Exploring Operation: 79-8=71, Resulting Numbers: [11, 36, 71] Generated Node #0,0: 27:[11, 36, 71] Operation: 79-8=71 Exploring Operation: 79-11=68, Resulting Numbers: [8, 36, 68] Generated Node #0,1: 27:[8, 36, 68] Operation: 79-11=68 Exploring Operation: 79-36=43, Resulting Numbers: [11, 8, 43] Generated Node #0,2: 27:[11, 8, 43] Operation: 79-36=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[11, 8, 43], Operations: ['79-36=43'] Exploring Operation: 43-11=32, Resulting Numbers: [8, 32] Generated Node #0,2,0: 27:[8, 32] Operation: 43-11=32 Exploring Operation: 11-8=3, Resulting Numbers: [43, 3] Generated Node #0,2,1: 27:[43, 3] Operation: 11-8=3 Exploring Operation: 43-8=35, Resulting Numbers: [11, 35] Generated Node #0,2,2: 27:[11, 35] Operation: 43-8=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[8, 32], Operations: ['79-36=43', '43-11=32'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,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,2 Current State: 27:[11, 35], Operations: ['79-36=43', '43-8=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,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:[43, 3], Operations: ['79-36=43', '11-8=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,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,1 Current State: 27:[8, 36, 68], Operations: ['79-11=68'] Exploring Operation: 68-36=32, Resulting Numbers: [8, 32] Generated Node #0,1,0: 27:[8, 32] Operation: 68-36=32 Exploring Operation: 36-8=28, Resulting Numbers: [68, 28] Generated Node #0,1,1: 27:[68, 28] Operation: 36-8=28 Exploring Operation: 68-8=60, Resulting Numbers: [36, 60] Generated Node #0,1,2: 27:[36, 60] Operation: 68-8=60 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[8, 32], Operations: ['79-11=68', '68-36=32'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,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,1,1 Current State: 27:[68, 28], Operations: ['79-11=68', '36-8=28'] Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,27 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,27 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,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,1,2 Current State: 27:[36, 60], Operations: ['79-11=68', '68-8=60'] Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,27 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,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:[11, 36, 71], Operations: ['79-8=71'] Exploring Operation: 36-11=25, Resulting Numbers: [71, 25] Generated Node #0,0,0: 27:[71, 25] Operation: 36-11=25 Exploring Operation: 71-36=35, Resulting Numbers: [11, 35] Generated Node #0,0,1: 27:[11, 35] Operation: 71-36=35 Exploring Operation: 71-11=60, Resulting Numbers: [36, 60] Generated Node #0,0,2: 27:[36, 60] Operation: 71-11=60 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[11, 35], Operations: ['79-8=71', '71-36=35'] Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,27 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[36, 60], Operations: ['79-8=71', '71-11=60'] Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,27 unequal: No Solution Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,27 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[71, 25], Operations: ['79-8=71', '36-11=25'] Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,27 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,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 No solution found.
0
hs_3
sum_heuristic
[ 34, 20, 58, 65 ]
21
[ "34-20=14", "65-58=7", "14+7=21" ]
Current State: 21:[34, 20, 58, 65], Operations: [] Exploring Operation: 34-20=14, Resulting Numbers: [58, 65, 14] Generated Node #2: [58, 65, 14] from Operation: 34-20=14 Current State: 21:[58, 65, 14], Operations: ['34-20=14'] Exploring Operation: 65-58=7, Resulting Numbers: [14, 7] Generated Node #3: [14, 7] from Operation: 65-58=7 Current State: 21:[14, 7], Operations: ['34-20=14', '65-58=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[34, 20, 58, 65], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [34, 20, 7] Generated Node #0,0: 21:[34, 20, 7] Operation: 65-58=7 Exploring Operation: 58-20=38, Resulting Numbers: [34, 65, 38] Generated Node #0,1: 21:[34, 65, 38] Operation: 58-20=38 Exploring Operation: 58-34=24, Resulting Numbers: [20, 65, 24] Generated Node #0,2: 21:[20, 65, 24] Operation: 58-34=24 Exploring Operation: 65-20=45, Resulting Numbers: [34, 58, 45] Generated Node #0,3: 21:[34, 58, 45] Operation: 65-20=45 Exploring Operation: 65-34=31, Resulting Numbers: [20, 58, 31] Generated Node #0,4: 21:[20, 58, 31] Operation: 65-34=31 Moving to Node #0,0 Current State: 21:[34, 20, 7], Operations: ['65-58=7'] Exploring Operation: 34+7=41, Resulting Numbers: [20, 41] Generated Node #0,0,0: 21:[20, 41] Operation: 34+7=41 Exploring Operation: 20+7=27, Resulting Numbers: [34, 27] Generated Node #0,0,1: 21:[34, 27] Operation: 20+7=27 Exploring Operation: 20-7=13, Resulting Numbers: [34, 13] Generated Node #0,0,2: 21:[34, 13] Operation: 20-7=13 Exploring Operation: 34-20=14, Resulting Numbers: [7, 14] Generated Node #0,0,3: 21:[7, 14] Operation: 34-20=14 Exploring Operation: 34-7=27, Resulting Numbers: [20, 27] Generated Node #0,0,4: 21:[20, 27] Operation: 34-7=27 Moving to Node #0,4 Current State: 21:[20, 58, 31], Operations: ['65-34=31'] Exploring Operation: 20+31=51, Resulting Numbers: [58, 51] Generated Node #0,4,0: 21:[58, 51] Operation: 20+31=51 Exploring Operation: 58-20=38, Resulting Numbers: [31, 38] Generated Node #0,4,1: 21:[31, 38] Operation: 58-20=38 Exploring Operation: 20+58=78, Resulting Numbers: [31, 78] Generated Node #0,4,2: 21:[31, 78] Operation: 20+58=78 Exploring Operation: 58-31=27, Resulting Numbers: [20, 27] Generated Node #0,4,3: 21:[20, 27] Operation: 58-31=27 Exploring Operation: 31-20=11, Resulting Numbers: [58, 11] Generated Node #0,4,4: 21:[58, 11] Operation: 31-20=11 Moving to Node #0,2 Current State: 21:[20, 65, 24], Operations: ['58-34=24'] Exploring Operation: 20+65=85, Resulting Numbers: [24, 85] Generated Node #0,2,0: 21:[24, 85] Operation: 20+65=85 Exploring Operation: 20+24=44, Resulting Numbers: [65, 44] Generated Node #0,2,1: 21:[65, 44] Operation: 20+24=44 Exploring Operation: 65-20=45, Resulting Numbers: [24, 45] Generated Node #0,2,2: 21:[24, 45] Operation: 65-20=45 Exploring Operation: 65-24=41, Resulting Numbers: [20, 41] Generated Node #0,2,3: 21:[20, 41] Operation: 65-24=41 Exploring Operation: 24-20=4, Resulting Numbers: [65, 4] Generated Node #0,2,4: 21:[65, 4] Operation: 24-20=4 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[20, 41], Operations: ['58-34=24', '65-24=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[34, 20, 58, 65], Operations: [] Exploring Operation: 58-34=24, Resulting Numbers: [20, 65, 24] Generated Node #0,2: 21:[20, 65, 24] Operation: 58-34=24 Moving to Node #0,2 Current State: 21:[20, 65, 24], Operations: ['58-34=24'] Exploring Operation: 65-24=41, Resulting Numbers: [20, 41] Generated Node #0,2,3: 21:[20, 41] Operation: 65-24=41 Moving to Node #0,2,3 Current State: 21:[20, 41], Operations: ['58-34=24', '65-24=41'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 70, 94, 64, 7 ]
81
[ "94-70=24", "64-7=57", "24+57=81" ]
Current State: 81:[70, 94, 64, 7], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [64, 7, 24] Generated Node #2: [64, 7, 24] from Operation: 94-70=24 Current State: 81:[64, 7, 24], Operations: ['94-70=24'] Exploring Operation: 64-7=57, Resulting Numbers: [24, 57] Generated Node #3: [24, 57] from Operation: 64-7=57 Current State: 81:[24, 57], Operations: ['94-70=24', '64-7=57'] Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[70, 94, 64, 7], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [94, 7, 6] Generated Node #0,0: 81:[94, 7, 6] Operation: 70-64=6 Exploring Operation: 94-64=30, Resulting Numbers: [70, 7, 30] Generated Node #0,1: 81:[70, 7, 30] Operation: 94-64=30 Exploring Operation: 94-70=24, Resulting Numbers: [64, 7, 24] Generated Node #0,2: 81:[64, 7, 24] Operation: 94-70=24 Exploring Operation: 70/7=10, Resulting Numbers: [94, 64, 10] Generated Node #0,3: 81:[94, 64, 10] Operation: 70/7=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[70, 7, 30], Operations: ['94-64=30'] Exploring Operation: 70+7=77, Resulting Numbers: [30, 77] Generated Node #0,1,0: 81:[30, 77] Operation: 70+7=77 Exploring Operation: 70-30=40, Resulting Numbers: [7, 40] Generated Node #0,1,1: 81:[7, 40] Operation: 70-30=40 Exploring Operation: 70/7=10, Resulting Numbers: [30, 10] Generated Node #0,1,2: 81:[30, 10] Operation: 70/7=10 Exploring Operation: 30-7=23, Resulting Numbers: [70, 23] Generated Node #0,1,3: 81:[70, 23] Operation: 30-7=23 Moving to Node #0,1,2 Current State: 81:[30, 10], Operations: ['94-64=30', '70/7=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[30, 77], Operations: ['94-64=30', '70+7=77'] Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,81 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,81 unequal: No Solution Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[70, 23], Operations: ['94-64=30', '30-7=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,81 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,81 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[7, 40], Operations: ['94-64=30', '70-30=40'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,81 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,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 Current State: 81:[94, 7, 6], Operations: ['70-64=6'] Exploring Operation: 94-7=87, Resulting Numbers: [6, 87] Generated Node #0,0,0: 81:[6, 87] Operation: 94-7=87 Exploring Operation: 7+6=13, Resulting Numbers: [94, 13] Generated Node #0,0,1: 81:[94, 13] Operation: 7+6=13 Exploring Operation: 94-6=88, Resulting Numbers: [7, 88] Generated Node #0,0,2: 81:[7, 88] Operation: 94-6=88 Exploring Operation: 7-6=1, Resulting Numbers: [94, 1] Generated Node #0,0,3: 81:[94, 1] Operation: 7-6=1 Moving to Node #0,0,0 Current State: 81:[6, 87], Operations: ['70-64=6', '94-7=87'] Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,81 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[70, 94, 64, 7], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [94, 7, 6] Generated Node #0,0: 81:[94, 7, 6] Operation: 70-64=6 Moving to Node #0,0 Current State: 81:[94, 7, 6], Operations: ['70-64=6'] Exploring Operation: 94-7=87, Resulting Numbers: [6, 87] Generated Node #0,0,0: 81:[6, 87] Operation: 94-7=87 Moving to Node #0,0,0 Current State: 81:[6, 87], Operations: ['70-64=6', '94-7=87'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 73, 43, 59, 22 ]
49
[ "73+59=132", "132/22=6", "43+6=49" ]
Current State: 49:[73, 43, 59, 22], Operations: [] Exploring Operation: 73+59=132, Resulting Numbers: [43, 22, 132] Generated Node #2: [43, 22, 132] from Operation: 73+59=132 Current State: 49:[43, 22, 132], Operations: ['73+59=132'] Exploring Operation: 132/22=6, Resulting Numbers: [43, 6] Generated Node #3: [43, 6] from Operation: 132/22=6 Current State: 49:[43, 6], Operations: ['73+59=132', '132/22=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[73, 43, 59, 22], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [43, 22, 14] Generated Node #0,0: 49:[43, 22, 14] Operation: 73-59=14 Exploring Operation: 73-43=30, Resulting Numbers: [59, 22, 30] Generated Node #0,1: 49:[59, 22, 30] Operation: 73-43=30 Exploring Operation: 59-43=16, Resulting Numbers: [73, 22, 16] Generated Node #0,2: 49:[73, 22, 16] Operation: 59-43=16 Exploring Operation: 59-22=37, Resulting Numbers: [73, 43, 37] Generated Node #0,3: 49:[73, 43, 37] Operation: 59-22=37 Exploring Operation: 73-22=51, Resulting Numbers: [43, 59, 51] Generated Node #0,4: 49:[43, 59, 51] Operation: 73-22=51 Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[43, 59, 51], Operations: ['73-22=51'] Exploring Operation: 59-51=8, Resulting Numbers: [43, 8] Generated Node #0,4,0: 49:[43, 8] Operation: 59-51=8 Exploring Operation: 51-43=8, Resulting Numbers: [59, 8] Generated Node #0,4,1: 49:[59, 8] Operation: 51-43=8 Exploring Operation: 43+51=94, Resulting Numbers: [59, 94] Generated Node #0,4,2: 49:[59, 94] Operation: 43+51=94 Exploring Operation: 59-43=16, Resulting Numbers: [51, 16] Generated Node #0,4,3: 49:[51, 16] Operation: 59-43=16 Exploring Operation: 43+59=102, Resulting Numbers: [51, 102] Generated Node #0,4,4: 49:[51, 102] Operation: 43+59=102 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[43, 8], Operations: ['73-22=51', '59-51=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,49 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 49:[59, 8], Operations: ['73-22=51', '51-43=8'] Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,49 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[51, 16], Operations: ['73-22=51', '59-43=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[59, 94], Operations: ['73-22=51', '43+51=94'] Exploring Operation: 59*94=5546, Resulting Numbers: [5546] 5546,49 unequal: No Solution Exploring Operation: 59+94=153, Resulting Numbers: [153] 153,49 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 49:[51, 102], Operations: ['73-22=51', '43+59=102'] Exploring Operation: 102/51=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 102-51=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51*102=5202, Resulting Numbers: [5202] 5202,49 unequal: No Solution Exploring Operation: 51+102=153, Resulting Numbers: [153] 153,49 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: 49:[43, 22, 14], Operations: ['73-59=14'] Exploring Operation: 43-22=21, Resulting Numbers: [14, 21] Generated Node #0,0,0: 49:[14, 21] Operation: 43-22=21 Exploring Operation: 43+14=57, Resulting Numbers: [22, 57] Generated Node #0,0,1: 49:[22, 57] Operation: 43+14=57 Exploring Operation: 22+14=36, Resulting Numbers: [43, 36] Generated Node #0,0,2: 49:[43, 36] Operation: 22+14=36 Exploring Operation: 43+22=65, Resulting Numbers: [14, 65] Generated Node #0,0,3: 49:[14, 65] Operation: 43+22=65 Exploring Operation: 22-14=8, Resulting Numbers: [43, 8] Generated Node #0,0,4: 49:[43, 8] Operation: 22-14=8 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 49:[43, 8], Operations: ['73-59=14', '22-14=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,49 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,49 unequal: No Solution No 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: 49:[43, 36], Operations: ['73-59=14', '22+14=36'] Exploring Operation: 43*36=1548, Resulting Numbers: [1548] 1548,49 unequal: No Solution Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[14, 21], Operations: ['73-59=14', '43-22=21'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,49 unequal: No Solution No 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: 49:[22, 57], Operations: ['73-59=14', '43+14=57'] Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,49 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,49 unequal: No Solution No 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: 49:[14, 65], Operations: ['73-59=14', '43+22=65'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,49 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: 49:[73, 43, 37], Operations: ['59-22=37'] Exploring Operation: 43-37=6, Resulting Numbers: [73, 6] Generated Node #0,3,0: 49:[73, 6] Operation: 43-37=6 Exploring Operation: 73+37=110, Resulting Numbers: [43, 110] Generated Node #0,3,1: 49:[43, 110] Operation: 73+37=110 Exploring Operation: 43+37=80, Resulting Numbers: [73, 80] Generated Node #0,3,2: 49:[73, 80] Operation: 43+37=80 Exploring Operation: 73-37=36, Resulting Numbers: [43, 36] Generated Node #0,3,3: 49:[43, 36] Operation: 73-37=36 Exploring Operation: 73-43=30, Resulting Numbers: [37, 30] Generated Node #0,3,4: 49:[37, 30] Operation: 73-43=30 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[43, 36], Operations: ['59-22=37', '73-37=36'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 43*36=1548, Resulting Numbers: [1548] 1548,49 unequal: No Solution No 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: 49:[73, 6], Operations: ['59-22=37', '43-37=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,49 unequal: No Solution No 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: 49:[37, 30], Operations: ['59-22=37', '73-43=30'] Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,49 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[73, 80], Operations: ['59-22=37', '43+37=80'] Exploring Operation: 73+80=153, Resulting Numbers: [153] 153,49 unequal: No Solution Exploring Operation: 73*80=5840, Resulting Numbers: [5840] 5840,49 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[43, 110], Operations: ['59-22=37', '73+37=110'] Exploring Operation: 110-43=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 43*110=4730, Resulting Numbers: [4730] 4730,49 unequal: No Solution Exploring Operation: 43+110=153, Resulting Numbers: [153] 153,49 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: 49:[59, 22, 30], Operations: ['73-43=30'] Exploring Operation: 59+22=81, Resulting Numbers: [30, 81] Generated Node #0,1,0: 49:[30, 81] Operation: 59+22=81 Exploring Operation: 59-22=37, Resulting Numbers: [30, 37] Generated Node #0,1,1: 49:[30, 37] Operation: 59-22=37 Exploring Operation: 22+30=52, Resulting Numbers: [59, 52] Generated Node #0,1,2: 49:[59, 52] Operation: 22+30=52 Exploring Operation: 30-22=8, Resulting Numbers: [59, 8] Generated Node #0,1,3: 49:[59, 8] Operation: 30-22=8 Exploring Operation: 59-30=29, Resulting Numbers: [22, 29] Generated Node #0,1,4: 49:[22, 29] Operation: 59-30=29 Moving to Node #0,1,3 Current State: 49:[59, 8], Operations: ['73-43=30', '30-22=8'] Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,49 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[59, 52], Operations: ['73-43=30', '22+30=52'] Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 59*52=3068, Resulting Numbers: [3068] 3068,49 unequal: No Solution Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[30, 37], Operations: ['73-43=30', '59-22=37'] Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,49 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[22, 29], Operations: ['73-43=30', '59-30=29'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,49 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[30, 81], Operations: ['73-43=30', '59+22=81'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 30+81=111, Resulting Numbers: [111] 111,49 unequal: No Solution Exploring Operation: 30*81=2430, Resulting Numbers: [2430] 2430,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[73, 22, 16], Operations: ['59-43=16'] Exploring Operation: 73-22=51, Resulting Numbers: [16, 51] Generated Node #0,2,0: 49:[16, 51] Operation: 73-22=51 Exploring Operation: 22-16=6, Resulting Numbers: [73, 6] Generated Node #0,2,1: 49:[73, 6] Operation: 22-16=6 Exploring Operation: 73-16=57, Resulting Numbers: [22, 57] Generated Node #0,2,2: 49:[22, 57] Operation: 73-16=57 Exploring Operation: 73+22=95, Resulting Numbers: [16, 95] Generated Node #0,2,3: 49:[16, 95] Operation: 73+22=95 Exploring Operation: 22+16=38, Resulting Numbers: [73, 38] Generated Node #0,2,4: 49:[73, 38] Operation: 22+16=38 Moving to Node #0,2,0 Current State: 49:[16, 51], Operations: ['59-43=16', '73-22=51'] Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,49 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[22, 57], Operations: ['59-43=16', '73-16=57'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[73, 6], Operations: ['59-43=16', '22-16=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,49 unequal: No Solution Moving to Node #0,2,4 Current State: 49:[73, 38], Operations: ['59-43=16', '22+16=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,49 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,49 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[16, 95], Operations: ['59-43=16', '73+22=95'] Exploring Operation: 16+95=111, Resulting Numbers: [111] 111,49 unequal: No Solution Exploring Operation: 16*95=1520, Resulting Numbers: [1520] 1520,49 unequal: No Solution Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,49 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
[ 1, 28, 31, 10 ]
50
[ "1+28=29", "31-10=21", "29+21=50" ]
Current State: 50:[1, 28, 31, 10], Operations: [] Exploring Operation: 1+28=29, Resulting Numbers: [31, 10, 29] Generated Node #2: [31, 10, 29] from Operation: 1+28=29 Current State: 50:[31, 10, 29], Operations: ['1+28=29'] Exploring Operation: 31-10=21, Resulting Numbers: [29, 21] Generated Node #3: [29, 21] from Operation: 31-10=21 Current State: 50:[29, 21], Operations: ['1+28=29', '31-10=21'] Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[1, 28, 31, 10], Operations: [] Exploring Operation: 31-1=30, Resulting Numbers: [28, 10, 30] Generated Node #0,0: 50:[28, 10, 30] Operation: 31-1=30 Exploring Operation: 31-10=21, Resulting Numbers: [1, 28, 21] Generated Node #0,1: 50:[1, 28, 21] Operation: 31-10=21 Exploring Operation: 28-1=27, Resulting Numbers: [31, 10, 27] Generated Node #0,2: 50:[31, 10, 27] Operation: 28-1=27 Exploring Operation: 31-28=3, Resulting Numbers: [1, 10, 3] Generated Node #0,3: 50:[1, 10, 3] Operation: 31-28=3 Moving to Node #0,3 Current State: 50:[1, 10, 3], Operations: ['31-28=3'] Exploring Operation: 1*10=10, Resulting Numbers: [3, 10] Generated Node #0,3,0: 50:[3, 10] Operation: 1*10=10 Exploring Operation: 1+3=4, Resulting Numbers: [10, 4] Generated Node #0,3,1: 50:[10, 4] Operation: 1+3=4 Exploring Operation: 3-1=2, Resulting Numbers: [10, 2] Generated Node #0,3,2: 50:[10, 2] Operation: 3-1=2 Exploring Operation: 10/1=10, Resulting Numbers: [3, 10] Generated Node #0,3,3: 50:[3, 10] Operation: 10/1=10 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[10, 2], Operations: ['31-28=3', '3-1=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,50 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[3, 10], Operations: ['31-28=3', '1*10=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[10, 4], Operations: ['31-28=3', '1+3=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[3, 10], Operations: ['31-28=3', '10/1=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,50 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: 50:[1, 28, 21], Operations: ['31-10=21'] Exploring Operation: 28+21=49, Resulting Numbers: [1, 49] Generated Node #0,1,0: 50:[1, 49] Operation: 28+21=49 Exploring Operation: 28-21=7, Resulting Numbers: [1, 7] Generated Node #0,1,1: 50:[1, 7] Operation: 28-21=7 Exploring Operation: 28-1=27, Resulting Numbers: [21, 27] Generated Node #0,1,2: 50:[21, 27] Operation: 28-1=27 Exploring Operation: 1+21=22, Resulting Numbers: [28, 22] Generated Node #0,1,3: 50:[28, 22] Operation: 1+21=22 Moving to Node #0,0 Current State: 50:[28, 10, 30], Operations: ['31-1=30'] Exploring Operation: 30/10=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 50:[28, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [28, 20] Generated Node #0,0,1: 50:[28, 20] Operation: 30-10=20 Exploring Operation: 30-28=2, Resulting Numbers: [10, 2] Generated Node #0,0,2: 50:[10, 2] Operation: 30-28=2 Exploring Operation: 28+30=58, Resulting Numbers: [10, 58] Generated Node #0,0,3: 50:[10, 58] Operation: 28+30=58 Moving to Node #0,2 Current State: 50:[31, 10, 27], Operations: ['28-1=27'] Exploring Operation: 31-27=4, Resulting Numbers: [10, 4] Generated Node #0,2,0: 50:[10, 4] Operation: 31-27=4 Exploring Operation: 31+27=58, Resulting Numbers: [10, 58] Generated Node #0,2,1: 50:[10, 58] Operation: 31+27=58 Exploring Operation: 31+10=41, Resulting Numbers: [27, 41] Generated Node #0,2,2: 50:[27, 41] Operation: 31+10=41 Exploring Operation: 31-10=21, Resulting Numbers: [27, 21] Generated Node #0,2,3: 50:[27, 21] Operation: 31-10=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[10, 4], Operations: ['28-1=27', '31-27=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[27, 21], Operations: ['28-1=27', '31-10=21'] Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 27*21=567, Resulting Numbers: [567] 567,50 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[10, 58], Operations: ['28-1=27', '31+27=58'] Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,50 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[27, 41], Operations: ['28-1=27', '31+10=41'] Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 50:[10, 2], Operations: ['31-1=30', '30-28=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,50 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[1, 49], Operations: ['31-10=21', '28+21=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[1, 28, 31, 10], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [1, 28, 21] Generated Node #0,1: 50:[1, 28, 21] Operation: 31-10=21 Moving to Node #0,1 Current State: 50:[1, 28, 21], Operations: ['31-10=21'] Exploring Operation: 28+21=49, Resulting Numbers: [1, 49] Generated Node #0,1,0: 50:[1, 49] Operation: 28+21=49 Moving to Node #0,1,0 Current State: 50:[1, 49], Operations: ['31-10=21', '28+21=49'] Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.950521
hs_4
mult_heuristic
[ 49, 47, 98, 22 ]
60
[ "49-47=2", "98+22=120", "120/2=60" ]
Current State: 60:[49, 47, 98, 22], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [98, 22, 2] Generated Node #2: [98, 22, 2] from Operation: 49-47=2 Current State: 60:[98, 22, 2], Operations: ['49-47=2'] Exploring Operation: 98+22=120, Resulting Numbers: [2, 120] Generated Node #3: [2, 120] from Operation: 98+22=120 Current State: 60:[2, 120], Operations: ['49-47=2', '98+22=120'] Exploring Operation: 120/2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[49, 47, 98, 22], Operations: [] Exploring Operation: 98-49=49, Resulting Numbers: [47, 22, 49] Generated Node #0,0: 60:[47, 22, 49] Operation: 98-49=49 Exploring Operation: 98-22=76, Resulting Numbers: [49, 47, 76] Generated Node #0,1: 60:[49, 47, 76] Operation: 98-22=76 Exploring Operation: 98/49=2, Resulting Numbers: [47, 22, 2] Generated Node #0,2: 60:[47, 22, 2] Operation: 98/49=2 Exploring Operation: 49-47=2, Resulting Numbers: [98, 22, 2] Generated Node #0,3: 60:[98, 22, 2] Operation: 49-47=2 Exploring Operation: 98-47=51, Resulting Numbers: [49, 22, 51] Generated Node #0,4: 60:[49, 22, 51] Operation: 98-47=51 Moving to Node #0,2 Current State: 60:[47, 22, 2], Operations: ['98/49=2'] Exploring Operation: 47+22=69, Resulting Numbers: [2, 69] Generated Node #0,2,0: 60:[2, 69] Operation: 47+22=69 Exploring Operation: 22-2=20, Resulting Numbers: [47, 20] Generated Node #0,2,1: 60:[47, 20] Operation: 22-2=20 Exploring Operation: 47-22=25, Resulting Numbers: [2, 25] Generated Node #0,2,2: 60:[2, 25] Operation: 47-22=25 Exploring Operation: 22/2=11, Resulting Numbers: [47, 11] Generated Node #0,2,3: 60:[47, 11] Operation: 22/2=11 Exploring Operation: 47+2=49, Resulting Numbers: [22, 49] Generated Node #0,2,4: 60:[22, 49] Operation: 47+2=49 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[2, 25], Operations: ['98/49=2', '47-22=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,60 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[2, 69], Operations: ['98/49=2', '47+22=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,60 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[47, 20], Operations: ['98/49=2', '22-2=20'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,60 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 60:[22, 49], Operations: ['98/49=2', '47+2=49'] Exploring Operation: 22*49=1078, Resulting Numbers: [1078] 1078,60 unequal: No Solution Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,60 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 60:[47, 11], Operations: ['98/49=2', '22/2=11'] Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,60 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,60 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: 60:[49, 22, 51], Operations: ['98-47=51'] Exploring Operation: 51-49=2, Resulting Numbers: [22, 2] Generated Node #0,4,0: 60:[22, 2] Operation: 51-49=2 Exploring Operation: 49-22=27, Resulting Numbers: [51, 27] Generated Node #0,4,1: 60:[51, 27] Operation: 49-22=27 Exploring Operation: 22+51=73, Resulting Numbers: [49, 73] Generated Node #0,4,2: 60:[49, 73] Operation: 22+51=73 Exploring Operation: 49+22=71, Resulting Numbers: [51, 71] Generated Node #0,4,3: 60:[51, 71] Operation: 49+22=71 Exploring Operation: 51-22=29, Resulting Numbers: [49, 29] Generated Node #0,4,4: 60:[49, 29] Operation: 51-22=29 Moving to Node #0,0 Current State: 60:[47, 22, 49], Operations: ['98-49=49'] Exploring Operation: 22+49=71, Resulting Numbers: [47, 71] Generated Node #0,0,0: 60:[47, 71] Operation: 22+49=71 Exploring Operation: 47-22=25, Resulting Numbers: [49, 25] Generated Node #0,0,1: 60:[49, 25] Operation: 47-22=25 Exploring Operation: 49-22=27, Resulting Numbers: [47, 27] Generated Node #0,0,2: 60:[47, 27] Operation: 49-22=27 Exploring Operation: 49-47=2, Resulting Numbers: [22, 2] Generated Node #0,0,3: 60:[22, 2] Operation: 49-47=2 Exploring Operation: 47+22=69, Resulting Numbers: [49, 69] Generated Node #0,0,4: 60:[49, 69] Operation: 47+22=69 Moving to Node #0,1 Current State: 60:[49, 47, 76], Operations: ['98-22=76'] Exploring Operation: 49+47=96, Resulting Numbers: [76, 96] Generated Node #0,1,0: 60:[76, 96] Operation: 49+47=96 Exploring Operation: 76-49=27, Resulting Numbers: [47, 27] Generated Node #0,1,1: 60:[47, 27] Operation: 76-49=27 Exploring Operation: 47+76=123, Resulting Numbers: [49, 123] Generated Node #0,1,2: 60:[49, 123] Operation: 47+76=123 Exploring Operation: 49-47=2, Resulting Numbers: [76, 2] Generated Node #0,1,3: 60:[76, 2] Operation: 49-47=2 Exploring Operation: 76-47=29, Resulting Numbers: [49, 29] Generated Node #0,1,4: 60:[49, 29] Operation: 76-47=29 Moving to Node #0,3 Current State: 60:[98, 22, 2], Operations: ['49-47=2'] Exploring Operation: 98-2=96, Resulting Numbers: [22, 96] Generated Node #0,3,0: 60:[22, 96] Operation: 98-2=96 Exploring Operation: 22/2=11, Resulting Numbers: [98, 11] Generated Node #0,3,1: 60:[98, 11] Operation: 22/2=11 Exploring Operation: 98/2=49, Resulting Numbers: [22, 49] Generated Node #0,3,2: 60:[22, 49] Operation: 98/2=49 Exploring Operation: 22-2=20, Resulting Numbers: [98, 20] Generated Node #0,3,3: 60:[98, 20] Operation: 22-2=20 Exploring Operation: 98-22=76, Resulting Numbers: [2, 76] Generated Node #0,3,4: 60:[2, 76] Operation: 98-22=76 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 60:[22, 49], Operations: ['49-47=2', '98/2=49'] Exploring Operation: 22*49=1078, Resulting Numbers: [1078] 1078,60 unequal: No Solution Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,60 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 60:[2, 76], Operations: ['49-47=2', '98-22=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,60 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 60:[22, 96], Operations: ['49-47=2', '98-2=96'] Exploring Operation: 22*96=2112, Resulting Numbers: [2112] 2112,60 unequal: No Solution Exploring Operation: 22+96=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 60:[98, 20], Operations: ['49-47=2', '22-2=20'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 98+20=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 98*20=1960, Resulting Numbers: [1960] 1960,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 60:[98, 11], Operations: ['49-47=2', '22/2=11'] Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,60 unequal: No Solution Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 60:[22, 2], Operations: ['98-47=51', '51-49=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,60 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[22, 2], Operations: ['98-49=49', '49-47=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,60 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[49, 29], Operations: ['98-47=51', '51-22=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[51, 27], Operations: ['98-47=51', '49-22=27'] Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,60 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,60 unequal: No Solution Moving to Node #0,1,4 Current State: 60:[49, 29], Operations: ['98-22=76', '76-47=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[49, 25], Operations: ['98-49=49', '47-22=25'] Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,60 unequal: No Solution Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[76, 2], Operations: ['98-22=76', '49-47=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,60 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[47, 27], Operations: ['98-49=49', '49-22=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,60 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[47, 27], Operations: ['98-22=76', '76-49=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,60 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[51, 71], Operations: ['98-47=51', '49+22=71'] Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,60 unequal: No Solution Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,60 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[49, 69], Operations: ['98-49=49', '47+22=69'] Exploring Operation: 49+69=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 49*69=3381, Resulting Numbers: [3381] 3381,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[47, 71], Operations: ['98-49=49', '22+49=71'] Exploring Operation: 47+71=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 47*71=3337, Resulting Numbers: [3337] 3337,60 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[49, 73], Operations: ['98-47=51', '22+51=73'] Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,60 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[76, 96], Operations: ['98-22=76', '49+47=96'] Exploring Operation: 76+96=172, Resulting Numbers: [172] 172,60 unequal: No Solution Exploring Operation: 76*96=7296, Resulting Numbers: [7296] 7296,60 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[49, 123], Operations: ['98-22=76', '47+76=123'] Exploring Operation: 49*123=6027, Resulting Numbers: [6027] 6027,60 unequal: No Solution Exploring Operation: 123-49=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 49+123=172, Resulting Numbers: [172] 172,60 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 64, 89, 70, 7 ]
47
[ "70-64=6", "7*6=42", "89-42=47" ]
Current State: 47:[64, 89, 70, 7], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [89, 7, 6] Generated Node #2: [89, 7, 6] from Operation: 70-64=6 Current State: 47:[89, 7, 6], Operations: ['70-64=6'] Exploring Operation: 7*6=42, Resulting Numbers: [89, 42] Generated Node #3: [89, 42] from Operation: 7*6=42 Current State: 47:[89, 42], Operations: ['70-64=6', '7*6=42'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[64, 89, 70, 7], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [64, 89, 63] Generated Node #0,0: 47:[64, 89, 63] Operation: 70-7=63 Exploring Operation: 64-7=57, Resulting Numbers: [89, 70, 57] Generated Node #0,1: 47:[89, 70, 57] Operation: 64-7=57 Exploring Operation: 89-7=82, Resulting Numbers: [64, 70, 82] Generated Node #0,2: 47:[64, 70, 82] Operation: 89-7=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[64, 89, 63], Operations: ['70-7=63'] Exploring Operation: 89-63=26, Resulting Numbers: [64, 26] Generated Node #0,0,0: 47:[64, 26] Operation: 89-63=26 Exploring Operation: 89-64=25, Resulting Numbers: [63, 25] Generated Node #0,0,1: 47:[63, 25] Operation: 89-64=25 Exploring Operation: 64-63=1, Resulting Numbers: [89, 1] Generated Node #0,0,2: 47:[89, 1] Operation: 64-63=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[64, 26], Operations: ['70-7=63', '89-63=26'] Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,47 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,47 unequal: No Solution No 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: 47:[63, 25], Operations: ['70-7=63', '89-64=25'] Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,47 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,47 unequal: No Solution No 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: 47:[89, 1], Operations: ['70-7=63', '64-63=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,47 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: 47:[89, 70, 57], Operations: ['64-7=57'] Exploring Operation: 70-57=13, Resulting Numbers: [89, 13] Generated Node #0,1,0: 47:[89, 13] Operation: 70-57=13 Exploring Operation: 89-57=32, Resulting Numbers: [70, 32] Generated Node #0,1,1: 47:[70, 32] Operation: 89-57=32 Exploring Operation: 89-70=19, Resulting Numbers: [57, 19] Generated Node #0,1,2: 47:[57, 19] Operation: 89-70=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[70, 32], Operations: ['64-7=57', '89-57=32'] Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,47 unequal: No Solution Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,47 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,47 unequal: No Solution No 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: 47:[57, 19], Operations: ['64-7=57', '89-70=19'] Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,47 unequal: No Solution No 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: 47:[89, 13], Operations: ['64-7=57', '70-57=13'] Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,47 unequal: No Solution Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,47 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,47 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: 47:[64, 70, 82], Operations: ['89-7=82'] Exploring Operation: 82-64=18, Resulting Numbers: [70, 18] Generated Node #0,2,0: 47:[70, 18] Operation: 82-64=18 Exploring Operation: 82-70=12, Resulting Numbers: [64, 12] Generated Node #0,2,1: 47:[64, 12] Operation: 82-70=12 Exploring Operation: 70-64=6, Resulting Numbers: [82, 6] Generated Node #0,2,2: 47:[82, 6] Operation: 70-64=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[70, 18], Operations: ['89-7=82', '82-64=18'] Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,47 unequal: No Solution Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,47 unequal: No Solution No 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: 47:[64, 12], Operations: ['89-7=82', '82-70=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,47 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,47 unequal: No Solution No 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: 47:[82, 6], Operations: ['89-7=82', '70-64=6'] Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,47 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
[ 41, 78, 39, 38 ]
58
[ "41-39=2", "78+38=116", "116/2=58" ]
Current State: 58:[41, 78, 39, 38], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [78, 38, 2] Generated Node #2: [78, 38, 2] from Operation: 41-39=2 Current State: 58:[78, 38, 2], Operations: ['41-39=2'] Exploring Operation: 78+38=116, Resulting Numbers: [2, 116] Generated Node #3: [2, 116] from Operation: 78+38=116 Current State: 58:[2, 116], Operations: ['41-39=2', '78+38=116'] Exploring Operation: 116/2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[41, 78, 39, 38], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [41, 38, 2] Generated Node #0,0: 58:[41, 38, 2] Operation: 78/39=2 Exploring Operation: 78-41=37, Resulting Numbers: [39, 38, 37] Generated Node #0,1: 58:[39, 38, 37] Operation: 78-41=37 Exploring Operation: 41-38=3, Resulting Numbers: [78, 39, 3] Generated Node #0,2: 58:[78, 39, 3] Operation: 41-38=3 Exploring Operation: 41-39=2, Resulting Numbers: [78, 38, 2] Generated Node #0,3: 58:[78, 38, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[41, 38, 2], Operations: ['78/39=2'] Exploring Operation: 41+38=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 58:[2, 79] Operation: 41+38=79 Exploring Operation: 41-2=39, Resulting Numbers: [38, 39] Generated Node #0,0,1: 58:[38, 39] Operation: 41-2=39 Exploring Operation: 38-2=36, Resulting Numbers: [41, 36] Generated Node #0,0,2: 58:[41, 36] Operation: 38-2=36 Exploring Operation: 41-38=3, Resulting Numbers: [2, 3] Generated Node #0,0,3: 58:[2, 3] Operation: 41-38=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 58:[2, 3], Operations: ['78/39=2', '41-38=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,58 unequal: No Solution No 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: 58:[38, 39], Operations: ['78/39=2', '41-2=39'] Exploring Operation: 38*39=1482, Resulting Numbers: [1482] 1482,58 unequal: No Solution Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,58 unequal: No Solution No 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: 58:[41, 36], Operations: ['78/39=2', '38-2=36'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,58 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,58 unequal: No Solution No 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: 58:[2, 79], Operations: ['78/39=2', '41+38=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,58 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: 58:[39, 38, 37], Operations: ['78-41=37'] Exploring Operation: 39-37=2, Resulting Numbers: [38, 2] Generated Node #0,1,0: 58:[38, 2] Operation: 39-37=2 Exploring Operation: 39+38=77, Resulting Numbers: [37, 77] Generated Node #0,1,1: 58:[37, 77] Operation: 39+38=77 Exploring Operation: 39-38=1, Resulting Numbers: [37, 1] Generated Node #0,1,2: 58:[37, 1] Operation: 39-38=1 Exploring Operation: 38-37=1, Resulting Numbers: [39, 1] Generated Node #0,1,3: 58:[39, 1] Operation: 38-37=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[38, 2], Operations: ['78-41=37', '39-37=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,58 unequal: No Solution No 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: 58:[37, 1], Operations: ['78-41=37', '39-38=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,58 unequal: No Solution No 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: 58:[39, 1], Operations: ['78-41=37', '38-37=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,58 unequal: No Solution No 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: 58:[37, 77], Operations: ['78-41=37', '39+38=77'] Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,58 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,58 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: 58:[78, 38, 2], Operations: ['41-39=2'] Exploring Operation: 78/2=39, Resulting Numbers: [38, 39] Generated Node #0,3,0: 58:[38, 39] Operation: 78/2=39 Exploring Operation: 38-2=36, Resulting Numbers: [78, 36] Generated Node #0,3,1: 58:[78, 36] Operation: 38-2=36 Exploring Operation: 78-38=40, Resulting Numbers: [2, 40] Generated Node #0,3,2: 58:[2, 40] Operation: 78-38=40 Exploring Operation: 78-2=76, Resulting Numbers: [38, 76] Generated Node #0,3,3: 58:[38, 76] Operation: 78-2=76 Moving to Node #0,3,2 Current State: 58:[2, 40], Operations: ['41-39=2', '78-38=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[38, 39], Operations: ['41-39=2', '78/2=39'] Exploring Operation: 38*39=1482, Resulting Numbers: [1482] 1482,58 unequal: No Solution Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[38, 76], Operations: ['41-39=2', '78-2=76'] Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,58 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,58 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[78, 36], Operations: ['41-39=2', '38-2=36'] Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,58 unequal: No Solution Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,58 unequal: No Solution No 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: 58:[78, 39, 3], Operations: ['41-38=3'] Exploring Operation: 78-3=75, Resulting Numbers: [39, 75] Generated Node #0,2,0: 58:[39, 75] Operation: 78-3=75 Exploring Operation: 78/3=26, Resulting Numbers: [39, 26] Generated Node #0,2,1: 58:[39, 26] Operation: 78/3=26 Exploring Operation: 78-39=39, Resulting Numbers: [3, 39] Generated Node #0,2,2: 58:[3, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [3, 2] Generated Node #0,2,3: 58:[3, 2] Operation: 78/39=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 58:[3, 2], Operations: ['41-38=3', '78/39=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,58 unequal: No Solution No 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: 58:[3, 39], Operations: ['41-38=3', '78-39=39'] Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,58 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,58 unequal: No Solution No 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: 58:[39, 26], Operations: ['41-38=3', '78/3=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,58 unequal: No Solution No 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: 58:[39, 75], Operations: ['41-38=3', '78-3=75'] Exploring Operation: 39*75=2925, Resulting Numbers: [2925] 2925,58 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 39+75=114, Resulting Numbers: [114] 114,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 27, 83, 52, 51 ]
47
[ "83-27=56", "52+51=103", "103-56=47" ]
Current State: 47:[27, 83, 52, 51], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [52, 51, 56] Generated Node #2: [52, 51, 56] from Operation: 83-27=56 Current State: 47:[52, 51, 56], Operations: ['83-27=56'] Exploring Operation: 52+51=103, Resulting Numbers: [56, 103] Generated Node #3: [56, 103] from Operation: 52+51=103 Current State: 47:[56, 103], Operations: ['83-27=56', '52+51=103'] Exploring Operation: 103-56=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[27, 83, 52, 51], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [27, 51, 31] Generated Node #0,0: 47:[27, 51, 31] Operation: 83-52=31 Exploring Operation: 83-27=56, Resulting Numbers: [52, 51, 56] Generated Node #0,1: 47:[52, 51, 56] Operation: 83-27=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[52, 51, 56], Operations: ['83-27=56'] Exploring Operation: 56-52=4, Resulting Numbers: [51, 4] Generated Node #0,1,0: 47:[51, 4] Operation: 56-52=4 Exploring Operation: 56-51=5, Resulting Numbers: [52, 5] Generated Node #0,1,1: 47:[52, 5] Operation: 56-51=5 Moving to Node #0,1,0 Current State: 47:[51, 4], Operations: ['83-27=56', '56-52=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[27, 83, 52, 51], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [52, 51, 56] Generated Node #0,1: 47:[52, 51, 56] Operation: 83-27=56 Moving to Node #0,1 Current State: 47:[52, 51, 56], Operations: ['83-27=56'] Exploring Operation: 56-52=4, Resulting Numbers: [51, 4] Generated Node #0,1,0: 47:[51, 4] Operation: 56-52=4 Moving to Node #0,1,0 Current State: 47:[51, 4], Operations: ['83-27=56', '56-52=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 69, 41, 44, 3 ]
13
[ "69-41=28", "44-3=41", "41-28=13" ]
Current State: 13:[69, 41, 44, 3], Operations: [] Exploring Operation: 69-41=28, Resulting Numbers: [44, 3, 28] Generated Node #2: [44, 3, 28] from Operation: 69-41=28 Current State: 13:[44, 3, 28], Operations: ['69-41=28'] Exploring Operation: 44-3=41, Resulting Numbers: [28, 41] Generated Node #3: [28, 41] from Operation: 44-3=41 Current State: 13:[28, 41], Operations: ['69-41=28', '44-3=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[69, 41, 44, 3], Operations: [] Exploring Operation: 69-41=28, Resulting Numbers: [44, 3, 28] Generated Node #0,0: 13:[44, 3, 28] Operation: 69-41=28 Exploring Operation: 69-44=25, Resulting Numbers: [41, 3, 25] Generated Node #0,1: 13:[41, 3, 25] Operation: 69-44=25 Exploring Operation: 69/3=23, Resulting Numbers: [41, 44, 23] Generated Node #0,2: 13:[41, 44, 23] Operation: 69/3=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[41, 3, 25], Operations: ['69-44=25'] Exploring Operation: 25-3=22, Resulting Numbers: [41, 22] Generated Node #0,1,0: 13:[41, 22] Operation: 25-3=22 Exploring Operation: 41-25=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 13:[3, 16] Operation: 41-25=16 Exploring Operation: 41-3=38, Resulting Numbers: [25, 38] Generated Node #0,1,2: 13:[25, 38] Operation: 41-3=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[3, 16], Operations: ['69-44=25', '41-25=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[69, 41, 44, 3], Operations: [] Exploring Operation: 69-44=25, Resulting Numbers: [41, 3, 25] Generated Node #0,1: 13:[41, 3, 25] Operation: 69-44=25 Moving to Node #0,1 Current State: 13:[41, 3, 25], Operations: ['69-44=25'] Exploring Operation: 41-25=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 13:[3, 16] Operation: 41-25=16 Moving to Node #0,1,1 Current State: 13:[3, 16], Operations: ['69-44=25', '41-25=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 70, 27, 67, 88 ]
64
[ "70-27=43", "88-67=21", "43+21=64" ]
Current State: 64:[70, 27, 67, 88], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [67, 88, 43] Generated Node #2: [67, 88, 43] from Operation: 70-27=43 Current State: 64:[67, 88, 43], Operations: ['70-27=43'] Exploring Operation: 88-67=21, Resulting Numbers: [43, 21] Generated Node #3: [43, 21] from Operation: 88-67=21 Current State: 64:[43, 21], Operations: ['70-27=43', '88-67=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[70, 27, 67, 88], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [70, 67, 61] Generated Node #0,0: 64:[70, 67, 61] Operation: 88-27=61 Exploring Operation: 88-70=18, Resulting Numbers: [27, 67, 18] Generated Node #0,1: 64:[27, 67, 18] Operation: 88-70=18 Exploring Operation: 88-67=21, Resulting Numbers: [70, 27, 21] Generated Node #0,2: 64:[70, 27, 21] Operation: 88-67=21 Moving to Node #0,1 Current State: 64:[27, 67, 18], Operations: ['88-70=18'] Exploring Operation: 27-18=9, Resulting Numbers: [67, 9] Generated Node #0,1,0: 64:[67, 9] Operation: 27-18=9 Exploring Operation: 67-27=40, Resulting Numbers: [18, 40] Generated Node #0,1,1: 64:[18, 40] Operation: 67-27=40 Exploring Operation: 27+18=45, Resulting Numbers: [67, 45] Generated Node #0,1,2: 64:[67, 45] Operation: 27+18=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[67, 9], Operations: ['88-70=18', '27-18=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,64 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[18, 40], Operations: ['88-70=18', '67-27=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[67, 45], Operations: ['88-70=18', '27+18=45'] Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,64 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,64 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: 64:[70, 67, 61], Operations: ['88-27=61'] Exploring Operation: 67-61=6, Resulting Numbers: [70, 6] Generated Node #0,0,0: 64:[70, 6] Operation: 67-61=6 Exploring Operation: 70-67=3, Resulting Numbers: [61, 3] Generated Node #0,0,1: 64:[61, 3] Operation: 70-67=3 Exploring Operation: 70-61=9, Resulting Numbers: [67, 9] Generated Node #0,0,2: 64:[67, 9] Operation: 70-61=9 Moving to Node #0,2 Current State: 64:[70, 27, 21], Operations: ['88-67=21'] Exploring Operation: 27-21=6, Resulting Numbers: [70, 6] Generated Node #0,2,0: 64:[70, 6] Operation: 27-21=6 Exploring Operation: 70-21=49, Resulting Numbers: [27, 49] Generated Node #0,2,1: 64:[27, 49] Operation: 70-21=49 Exploring Operation: 70-27=43, Resulting Numbers: [21, 43] Generated Node #0,2,2: 64:[21, 43] Operation: 70-27=43 Moving to Node #0,0,1 Current State: 64:[61, 3], Operations: ['88-27=61', '70-67=3'] Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,64 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[70, 27, 67, 88], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [70, 67, 61] Generated Node #0,0: 64:[70, 67, 61] Operation: 88-27=61 Moving to Node #0,0 Current State: 64:[70, 67, 61], Operations: ['88-27=61'] Exploring Operation: 70-67=3, Resulting Numbers: [61, 3] Generated Node #0,0,1: 64:[61, 3] Operation: 70-67=3 Moving to Node #0,0,1 Current State: 64:[61, 3], Operations: ['88-27=61', '70-67=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 73, 45, 25, 80 ]
69
[ "45-25=20", "80/20=4", "73-4=69" ]
Current State: 69:[73, 45, 25, 80], Operations: [] Exploring Operation: 45-25=20, Resulting Numbers: [73, 80, 20] Generated Node #2: [73, 80, 20] from Operation: 45-25=20 Current State: 69:[73, 80, 20], Operations: ['45-25=20'] Exploring Operation: 80/20=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 80/20=4 Current State: 69:[73, 4], Operations: ['45-25=20', '80/20=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[73, 45, 25, 80], Operations: [] Exploring Operation: 45+25=70, Resulting Numbers: [73, 80, 70] Generated Node #0,0: 69:[73, 80, 70] Operation: 45+25=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[73, 80, 70], Operations: ['45+25=70'] Exploring Operation: 80-73=7, Resulting Numbers: [70, 7] Generated Node #0,0,0: 69:[70, 7] Operation: 80-73=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[70, 7], Operations: ['45+25=70', '80-73=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 92, 33, 32, 41 ]
51
[ "92-41=51", "33-32=1", "51*1=51" ]
Current State: 51:[92, 33, 32, 41], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [33, 32, 51] Generated Node #2: [33, 32, 51] from Operation: 92-41=51 Current State: 51:[33, 32, 51], Operations: ['92-41=51'] Exploring Operation: 33-32=1, Resulting Numbers: [51, 1] Generated Node #3: [51, 1] from Operation: 33-32=1 Current State: 51:[51, 1], Operations: ['92-41=51', '33-32=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[92, 33, 32, 41], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [92, 41, 1] Generated Node #0,0: 51:[92, 41, 1] Operation: 33-32=1 Exploring Operation: 92-32=60, Resulting Numbers: [33, 41, 60] Generated Node #0,1: 51:[33, 41, 60] Operation: 92-32=60 Exploring Operation: 92-33=59, Resulting Numbers: [32, 41, 59] Generated Node #0,2: 51:[32, 41, 59] Operation: 92-33=59 Exploring Operation: 92-41=51, Resulting Numbers: [33, 32, 51] Generated Node #0,3: 51:[33, 32, 51] Operation: 92-41=51 Moving to Node #0,3 Current State: 51:[33, 32, 51], Operations: ['92-41=51'] Exploring Operation: 51-33=18, Resulting Numbers: [32, 18] Generated Node #0,3,0: 51:[32, 18] Operation: 51-33=18 Exploring Operation: 33-32=1, Resulting Numbers: [51, 1] Generated Node #0,3,1: 51:[51, 1] Operation: 33-32=1 Exploring Operation: 51-32=19, Resulting Numbers: [33, 19] Generated Node #0,3,2: 51:[33, 19] Operation: 51-32=19 Exploring Operation: 33+32=65, Resulting Numbers: [51, 65] Generated Node #0,3,3: 51:[51, 65] Operation: 33+32=65 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[51, 1], Operations: ['92-41=51', '33-32=1'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[92, 33, 32, 41], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [33, 32, 51] Generated Node #0,3: 51:[33, 32, 51] Operation: 92-41=51 Moving to Node #0,3 Current State: 51:[33, 32, 51], Operations: ['92-41=51'] Exploring Operation: 33-32=1, Resulting Numbers: [51, 1] Generated Node #0,3,1: 51:[51, 1] Operation: 33-32=1 Moving to Node #0,3,1 Current State: 51:[51, 1], Operations: ['92-41=51', '33-32=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 31, 3, 14, 26 ]
52
[ "31-3=28", "28/14=2", "26*2=52" ]
Current State: 52:[31, 3, 14, 26], Operations: [] Exploring Operation: 31-3=28, Resulting Numbers: [14, 26, 28] Generated Node #2: [14, 26, 28] from Operation: 31-3=28 Current State: 52:[14, 26, 28], Operations: ['31-3=28'] Exploring Operation: 28/14=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 28/14=2 Current State: 52:[26, 2], Operations: ['31-3=28', '28/14=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[31, 3, 14, 26], Operations: [] Exploring Operation: 31-3=28, Resulting Numbers: [14, 26, 28] Generated Node #0,0: 52:[14, 26, 28] Operation: 31-3=28 Exploring Operation: 31-26=5, Resulting Numbers: [3, 14, 5] Generated Node #0,1: 52:[3, 14, 5] Operation: 31-26=5 Moving to Node #0,0 Current State: 52:[14, 26, 28], Operations: ['31-3=28'] Exploring Operation: 28/14=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [26, 14] Generated Node #0,0,1: 52:[26, 14] Operation: 28-14=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['31-3=28', '28/14=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[31, 3, 14, 26], Operations: [] Exploring Operation: 31-3=28, Resulting Numbers: [14, 26, 28] Generated Node #0,0: 52:[14, 26, 28] Operation: 31-3=28 Moving to Node #0,0 Current State: 52:[14, 26, 28], Operations: ['31-3=28'] Exploring Operation: 28/14=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['31-3=28', '28/14=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 56, 70, 81, 34 ]
79
[ "56+70=126", "81-34=47", "126-47=79" ]
Current State: 79:[56, 70, 81, 34], Operations: [] Exploring Operation: 56+70=126, Resulting Numbers: [81, 34, 126] Generated Node #2: [81, 34, 126] from Operation: 56+70=126 Current State: 79:[81, 34, 126], Operations: ['56+70=126'] Exploring Operation: 81-34=47, Resulting Numbers: [126, 47] Generated Node #3: [126, 47] from Operation: 81-34=47 Current State: 79:[126, 47], Operations: ['56+70=126', '81-34=47'] Exploring Operation: 126-47=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[56, 70, 81, 34], Operations: [] Exploring Operation: 56-34=22, Resulting Numbers: [70, 81, 22] Generated Node #0,0: 79:[70, 81, 22] Operation: 56-34=22 Exploring Operation: 70-34=36, Resulting Numbers: [56, 81, 36] Generated Node #0,1: 79:[56, 81, 36] Operation: 70-34=36 Exploring Operation: 56+34=90, Resulting Numbers: [70, 81, 90] Generated Node #0,2: 79:[70, 81, 90] Operation: 56+34=90 Exploring Operation: 81-34=47, Resulting Numbers: [56, 70, 47] Generated Node #0,3: 79:[56, 70, 47] Operation: 81-34=47 Exploring Operation: 70+34=104, Resulting Numbers: [56, 81, 104] Generated Node #0,4: 79:[56, 81, 104] Operation: 70+34=104 Moving to Node #0,2 Current State: 79:[70, 81, 90], Operations: ['56+34=90'] Exploring Operation: 70+81=151, Resulting Numbers: [90, 151] Generated Node #0,2,0: 79:[90, 151] Operation: 70+81=151 Exploring Operation: 90-81=9, Resulting Numbers: [70, 9] Generated Node #0,2,1: 79:[70, 9] Operation: 90-81=9 Exploring Operation: 81-70=11, Resulting Numbers: [90, 11] Generated Node #0,2,2: 79:[90, 11] Operation: 81-70=11 Exploring Operation: 90-70=20, Resulting Numbers: [81, 20] Generated Node #0,2,3: 79:[81, 20] Operation: 90-70=20 Exploring Operation: 70+90=160, Resulting Numbers: [81, 160] Generated Node #0,2,4: 79:[81, 160] Operation: 70+90=160 Moving to Node #0,4 Current State: 79:[56, 81, 104], Operations: ['70+34=104'] Exploring Operation: 104-81=23, Resulting Numbers: [56, 23] Generated Node #0,4,0: 79:[56, 23] Operation: 104-81=23 Exploring Operation: 104-56=48, Resulting Numbers: [81, 48] Generated Node #0,4,1: 79:[81, 48] Operation: 104-56=48 Exploring Operation: 56+81=137, Resulting Numbers: [104, 137] Generated Node #0,4,2: 79:[104, 137] Operation: 56+81=137 Exploring Operation: 56+104=160, Resulting Numbers: [81, 160] Generated Node #0,4,3: 79:[81, 160] Operation: 56+104=160 Exploring Operation: 81-56=25, Resulting Numbers: [104, 25] Generated Node #0,4,4: 79:[104, 25] Operation: 81-56=25 Moving to Node #0,3 Current State: 79:[56, 70, 47], Operations: ['81-34=47'] Exploring Operation: 56+70=126, Resulting Numbers: [47, 126] Generated Node #0,3,0: 79:[47, 126] Operation: 56+70=126 Exploring Operation: 56+47=103, Resulting Numbers: [70, 103] Generated Node #0,3,1: 79:[70, 103] Operation: 56+47=103 Exploring Operation: 70-47=23, Resulting Numbers: [56, 23] Generated Node #0,3,2: 79:[56, 23] Operation: 70-47=23 Exploring Operation: 70+47=117, Resulting Numbers: [56, 117] Generated Node #0,3,3: 79:[56, 117] Operation: 70+47=117 Exploring Operation: 56-47=9, Resulting Numbers: [70, 9] Generated Node #0,3,4: 79:[70, 9] Operation: 56-47=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[70, 103], Operations: ['81-34=47', '56+47=103'] Exploring Operation: 103-70=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 70+103=173, Resulting Numbers: [173] 173,79 unequal: No Solution Exploring Operation: 70*103=7210, Resulting Numbers: [7210] 7210,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[56, 117], Operations: ['81-34=47', '70+47=117'] Exploring Operation: 56*117=6552, Resulting Numbers: [6552] 6552,79 unequal: No Solution Exploring Operation: 117-56=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 56+117=173, Resulting Numbers: [173] 173,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[47, 126], Operations: ['81-34=47', '56+70=126'] Exploring Operation: 47+126=173, Resulting Numbers: [173] 173,79 unequal: No Solution Exploring Operation: 47*126=5922, Resulting Numbers: [5922] 5922,79 unequal: No Solution Exploring Operation: 126-47=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[56, 70, 81, 34], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [56, 70, 47] Generated Node #0,3: 79:[56, 70, 47] Operation: 81-34=47 Moving to Node #0,3 Current State: 79:[56, 70, 47], Operations: ['81-34=47'] Exploring Operation: 56+70=126, Resulting Numbers: [47, 126] Generated Node #0,3,0: 79:[47, 126] Operation: 56+70=126 Moving to Node #0,3,0 Current State: 79:[47, 126], Operations: ['81-34=47', '56+70=126'] Exploring Operation: 126-47=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
mult_heuristic
[ 85, 81, 36, 84 ]
57
[ "85-81=4", "84/4=21", "36+21=57" ]
Current State: 57:[85, 81, 36, 84], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [36, 84, 4] Generated Node #2: [36, 84, 4] from Operation: 85-81=4 Current State: 57:[36, 84, 4], Operations: ['85-81=4'] Exploring Operation: 84/4=21, Resulting Numbers: [36, 21] Generated Node #3: [36, 21] from Operation: 84/4=21 Current State: 57:[36, 21], Operations: ['85-81=4', '84/4=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[85, 81, 36, 84], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [81, 36, 1] Generated Node #0,0: 57:[81, 36, 1] Operation: 85-84=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[81, 36, 1], Operations: ['85-84=1'] Exploring Operation: 81-36=45, Resulting Numbers: [1, 45] Generated Node #0,0,0: 57:[1, 45] Operation: 81-36=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[1, 45], Operations: ['85-84=1', '81-36=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,57 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
[ 18, 31, 47, 73 ]
13
[ "31-18=13", "73-47=26", "26-13=13" ]
Current State: 13:[18, 31, 47, 73], Operations: [] Exploring Operation: 31-18=13, Resulting Numbers: [47, 73, 13] Generated Node #2: [47, 73, 13] from Operation: 31-18=13 Current State: 13:[47, 73, 13], Operations: ['31-18=13'] Exploring Operation: 73-47=26, Resulting Numbers: [13, 26] Generated Node #3: [13, 26] from Operation: 73-47=26 Current State: 13:[13, 26], Operations: ['31-18=13', '73-47=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[18, 31, 47, 73], Operations: [] Exploring Operation: 73-31=42, Resulting Numbers: [18, 47, 42] Generated Node #0,0: 13:[18, 47, 42] Operation: 73-31=42 Exploring Operation: 73-47=26, Resulting Numbers: [18, 31, 26] Generated Node #0,1: 13:[18, 31, 26] Operation: 73-47=26 Exploring Operation: 31-18=13, Resulting Numbers: [47, 73, 13] Generated Node #0,2: 13:[47, 73, 13] Operation: 31-18=13 Exploring Operation: 47-31=16, Resulting Numbers: [18, 73, 16] Generated Node #0,3: 13:[18, 73, 16] Operation: 47-31=16 Moving to Node #0,1 Current State: 13:[18, 31, 26], Operations: ['73-47=26'] Exploring Operation: 18+31=49, Resulting Numbers: [26, 49] Generated Node #0,1,0: 13:[26, 49] Operation: 18+31=49 Exploring Operation: 31-18=13, Resulting Numbers: [26, 13] Generated Node #0,1,1: 13:[26, 13] Operation: 31-18=13 Exploring Operation: 31-26=5, Resulting Numbers: [18, 5] Generated Node #0,1,2: 13:[18, 5] Operation: 31-26=5 Exploring Operation: 26-18=8, Resulting Numbers: [31, 8] Generated Node #0,1,3: 13:[31, 8] Operation: 26-18=8 Moving to Node #0,3 Current State: 13:[18, 73, 16], Operations: ['47-31=16'] Exploring Operation: 18+73=91, Resulting Numbers: [16, 91] Generated Node #0,3,0: 13:[16, 91] Operation: 18+73=91 Exploring Operation: 73-18=55, Resulting Numbers: [16, 55] Generated Node #0,3,1: 13:[16, 55] Operation: 73-18=55 Exploring Operation: 18-16=2, Resulting Numbers: [73, 2] Generated Node #0,3,2: 13:[73, 2] Operation: 18-16=2 Exploring Operation: 73-16=57, Resulting Numbers: [18, 57] Generated Node #0,3,3: 13:[18, 57] Operation: 73-16=57 Moving to Node #0,0 Current State: 13:[18, 47, 42], Operations: ['73-31=42'] Exploring Operation: 47-42=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 13:[18, 5] Operation: 47-42=5 Exploring Operation: 42-18=24, Resulting Numbers: [47, 24] Generated Node #0,0,1: 13:[47, 24] Operation: 42-18=24 Exploring Operation: 18+47=65, Resulting Numbers: [42, 65] Generated Node #0,0,2: 13:[42, 65] Operation: 18+47=65 Exploring Operation: 47-18=29, Resulting Numbers: [42, 29] Generated Node #0,0,3: 13:[42, 29] Operation: 47-18=29 Moving to Node #0,2 Current State: 13:[47, 73, 13], Operations: ['31-18=13'] Exploring Operation: 73-13=60, Resulting Numbers: [47, 60] Generated Node #0,2,0: 13:[47, 60] Operation: 73-13=60 Exploring Operation: 47+73=120, Resulting Numbers: [13, 120] Generated Node #0,2,1: 13:[13, 120] Operation: 47+73=120 Exploring Operation: 73-47=26, Resulting Numbers: [13, 26] Generated Node #0,2,2: 13:[13, 26] Operation: 73-47=26 Exploring Operation: 47-13=34, Resulting Numbers: [73, 34] Generated Node #0,2,3: 13:[73, 34] Operation: 47-13=34 Moving to Node #0,1,1 Current State: 13:[26, 13], Operations: ['73-47=26', '31-18=13'] Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,13 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[18, 31, 47, 73], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [18, 31, 26] Generated Node #0,1: 13:[18, 31, 26] Operation: 73-47=26 Moving to Node #0,1 Current State: 13:[18, 31, 26], Operations: ['73-47=26'] Exploring Operation: 31-18=13, Resulting Numbers: [26, 13] Generated Node #0,1,1: 13:[26, 13] Operation: 31-18=13 Moving to Node #0,1,1 Current State: 13:[26, 13], Operations: ['73-47=26', '31-18=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.975694
hs_4
sum_heuristic
[ 79, 40, 67, 2 ]
33
[ "79+67=146", "146/2=73", "73-40=33" ]
Current State: 33:[79, 40, 67, 2], Operations: [] Exploring Operation: 79+67=146, Resulting Numbers: [40, 2, 146] Generated Node #2: [40, 2, 146] from Operation: 79+67=146 Current State: 33:[40, 2, 146], Operations: ['79+67=146'] Exploring Operation: 146/2=73, Resulting Numbers: [40, 73] Generated Node #3: [40, 73] from Operation: 146/2=73 Current State: 33:[40, 73], Operations: ['79+67=146', '146/2=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[79, 40, 67, 2], Operations: [] Exploring Operation: 79-67=12, Resulting Numbers: [40, 2, 12] Generated Node #0,0: 33:[40, 2, 12] Operation: 79-67=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[40, 2, 12], Operations: ['79-67=12'] Exploring Operation: 40-2=38, Resulting Numbers: [12, 38] Generated Node #0,0,0: 33:[12, 38] Operation: 40-2=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[12, 38], Operations: ['79-67=12', '40-2=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,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
[ 29, 38, 13, 57 ]
24
[ "29-13=16", "57*16=912", "912/38=24" ]
Current State: 24:[29, 38, 13, 57], Operations: [] Exploring Operation: 29-13=16, Resulting Numbers: [38, 57, 16] Generated Node #2: [38, 57, 16] from Operation: 29-13=16 Current State: 24:[38, 57, 16], Operations: ['29-13=16'] Exploring Operation: 57*16=912, Resulting Numbers: [38, 912] Generated Node #3: [38, 912] from Operation: 57*16=912 Current State: 24:[38, 912], Operations: ['29-13=16', '57*16=912'] Exploring Operation: 912/38=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[29, 38, 13, 57], Operations: [] Exploring Operation: 57-29=28, Resulting Numbers: [38, 13, 28] Generated Node #0,0: 24:[38, 13, 28] Operation: 57-29=28 Exploring Operation: 38-13=25, Resulting Numbers: [29, 57, 25] Generated Node #0,1: 24:[29, 57, 25] Operation: 38-13=25 Exploring Operation: 57-38=19, Resulting Numbers: [29, 13, 19] Generated Node #0,2: 24:[29, 13, 19] Operation: 57-38=19 Exploring Operation: 38-29=9, Resulting Numbers: [13, 57, 9] Generated Node #0,3: 24:[13, 57, 9] Operation: 38-29=9 Moving to Node #0,2 Current State: 24:[29, 13, 19], Operations: ['57-38=19'] Exploring Operation: 13+19=32, Resulting Numbers: [29, 32] Generated Node #0,2,0: 24:[29, 32] Operation: 13+19=32 Exploring Operation: 19-13=6, Resulting Numbers: [29, 6] Generated Node #0,2,1: 24:[29, 6] Operation: 19-13=6 Exploring Operation: 29-13=16, Resulting Numbers: [19, 16] Generated Node #0,2,2: 24:[19, 16] Operation: 29-13=16 Exploring Operation: 29-19=10, Resulting Numbers: [13, 10] Generated Node #0,2,3: 24:[13, 10] Operation: 29-19=10 Moving to Node #0,0 Current State: 24:[38, 13, 28], Operations: ['57-29=28'] Exploring Operation: 38-28=10, Resulting Numbers: [13, 10] Generated Node #0,0,0: 24:[13, 10] Operation: 38-28=10 Exploring Operation: 28-13=15, Resulting Numbers: [38, 15] Generated Node #0,0,1: 24:[38, 15] Operation: 28-13=15 Exploring Operation: 38-13=25, Resulting Numbers: [28, 25] Generated Node #0,0,2: 24:[28, 25] Operation: 38-13=25 Exploring Operation: 38+13=51, Resulting Numbers: [28, 51] Generated Node #0,0,3: 24:[28, 51] Operation: 38+13=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[13, 10], Operations: ['57-29=28', '38-28=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,24 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[28, 25], Operations: ['57-29=28', '38-13=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[38, 15], Operations: ['57-29=28', '28-13=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[28, 51], Operations: ['57-29=28', '38+13=51'] Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,24 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,24 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: 24:[13, 57, 9], Operations: ['38-29=9'] Exploring Operation: 13-9=4, Resulting Numbers: [57, 4] Generated Node #0,3,0: 24:[57, 4] Operation: 13-9=4 Exploring Operation: 57-13=44, Resulting Numbers: [9, 44] Generated Node #0,3,1: 24:[9, 44] Operation: 57-13=44 Exploring Operation: 57-9=48, Resulting Numbers: [13, 48] Generated Node #0,3,2: 24:[13, 48] Operation: 57-9=48 Exploring Operation: 13+9=22, Resulting Numbers: [57, 22] Generated Node #0,3,3: 24:[57, 22] Operation: 13+9=22 Moving to Node #0,1 Current State: 24:[29, 57, 25], Operations: ['38-13=25'] Exploring Operation: 29-25=4, Resulting Numbers: [57, 4] Generated Node #0,1,0: 24:[57, 4] Operation: 29-25=4 Exploring Operation: 57-29=28, Resulting Numbers: [25, 28] Generated Node #0,1,1: 24:[25, 28] Operation: 57-29=28 Exploring Operation: 57-25=32, Resulting Numbers: [29, 32] Generated Node #0,1,2: 24:[29, 32] Operation: 57-25=32 Exploring Operation: 29+57=86, Resulting Numbers: [25, 86] Generated Node #0,1,3: 24:[25, 86] Operation: 29+57=86 Moving to Node #0,2,3 Current State: 24:[13, 10], Operations: ['57-38=19', '29-19=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,24 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[29, 6], Operations: ['57-38=19', '19-13=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,24 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[25, 28], Operations: ['38-13=25', '57-29=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[19, 16], Operations: ['57-38=19', '29-13=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,24 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[29, 32], Operations: ['38-13=25', '57-25=32'] Exploring Operation: 29+32=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 29*32=928, Resulting Numbers: [928] 928,24 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[29, 32], Operations: ['57-38=19', '13+19=32'] Exploring Operation: 29*32=928, Resulting Numbers: [928] 928,24 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 29+32=61, Resulting Numbers: [61] 61,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[9, 44], Operations: ['38-29=9', '57-13=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,24 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[13, 48], Operations: ['38-29=9', '57-9=48'] Exploring Operation: 13*48=624, Resulting Numbers: [624] 624,24 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[57, 4], Operations: ['38-13=25', '29-25=4'] Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,24 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[57, 4], Operations: ['38-29=9', '13-9=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[57, 22], Operations: ['38-29=9', '13+9=22'] Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,24 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,24 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[25, 86], Operations: ['38-13=25', '29+57=86'] Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 25+86=111, Resulting Numbers: [111] 111,24 unequal: No Solution Exploring Operation: 25*86=2150, Resulting Numbers: [2150] 2150,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 82, 45, 91, 1 ]
35
[ "82+45=127", "91+1=92", "127-92=35" ]
Current State: 35:[82, 45, 91, 1], Operations: [] Exploring Operation: 82+45=127, Resulting Numbers: [91, 1, 127] Generated Node #2: [91, 1, 127] from Operation: 82+45=127 Current State: 35:[91, 1, 127], Operations: ['82+45=127'] Exploring Operation: 91+1=92, Resulting Numbers: [127, 92] Generated Node #3: [127, 92] from Operation: 91+1=92 Current State: 35:[127, 92], Operations: ['82+45=127', '91+1=92'] Exploring Operation: 127-92=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[82, 45, 91, 1], Operations: [] Exploring Operation: 91-45=46, Resulting Numbers: [82, 1, 46] Generated Node #0,0: 35:[82, 1, 46] Operation: 91-45=46 Exploring Operation: 82-45=37, Resulting Numbers: [91, 1, 37] Generated Node #0,1: 35:[91, 1, 37] Operation: 82-45=37 Exploring Operation: 91-82=9, Resulting Numbers: [45, 1, 9] Generated Node #0,2: 35:[45, 1, 9] Operation: 91-82=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[45, 1, 9], Operations: ['91-82=9'] Exploring Operation: 45/9=5, Resulting Numbers: [1, 5] Generated Node #0,2,0: 35:[1, 5] Operation: 45/9=5 Exploring Operation: 45-9=36, Resulting Numbers: [1, 36] Generated Node #0,2,1: 35:[1, 36] Operation: 45-9=36 Exploring Operation: 45-1=44, Resulting Numbers: [9, 44] Generated Node #0,2,2: 35:[9, 44] Operation: 45-1=44 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[1, 5], Operations: ['91-82=9', '45/9=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[1, 36], Operations: ['91-82=9', '45-9=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[82, 45, 91, 1], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [45, 1, 9] Generated Node #0,2: 35:[45, 1, 9] Operation: 91-82=9 Moving to Node #0,2 Current State: 35:[45, 1, 9], Operations: ['91-82=9'] Exploring Operation: 45-9=36, Resulting Numbers: [1, 36] Generated Node #0,2,1: 35:[1, 36] Operation: 45-9=36 Moving to Node #0,2,1 Current State: 35:[1, 36], Operations: ['91-82=9', '45-9=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 8, 91, 53, 37 ]
67
[ "91-8=83", "53-37=16", "83-16=67" ]
Current State: 67:[8, 91, 53, 37], Operations: [] Exploring Operation: 91-8=83, Resulting Numbers: [53, 37, 83] Generated Node #2: [53, 37, 83] from Operation: 91-8=83 Current State: 67:[53, 37, 83], Operations: ['91-8=83'] Exploring Operation: 53-37=16, Resulting Numbers: [83, 16] Generated Node #3: [83, 16] from Operation: 53-37=16 Current State: 67:[83, 16], Operations: ['91-8=83', '53-37=16'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[8, 91, 53, 37], Operations: [] Exploring Operation: 91-8=83, Resulting Numbers: [53, 37, 83] Generated Node #0,0: 67:[53, 37, 83] Operation: 91-8=83 Exploring Operation: 8+53=61, Resulting Numbers: [91, 37, 61] Generated Node #0,1: 67:[91, 37, 61] Operation: 8+53=61 Moving to Node #0,0 Current State: 67:[53, 37, 83], Operations: ['91-8=83'] Exploring Operation: 83-37=46, Resulting Numbers: [53, 46] Generated Node #0,0,0: 67:[53, 46] Operation: 83-37=46 Exploring Operation: 53+37=90, Resulting Numbers: [83, 90] Generated Node #0,0,1: 67:[83, 90] Operation: 53+37=90 Moving to Node #0,1 Current State: 67:[91, 37, 61], Operations: ['8+53=61'] Exploring Operation: 37+61=98, Resulting Numbers: [91, 98] Generated Node #0,1,0: 67:[91, 98] Operation: 37+61=98 Exploring Operation: 91-37=54, Resulting Numbers: [61, 54] Generated Node #0,1,1: 67:[61, 54] Operation: 91-37=54 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[61, 54], Operations: ['8+53=61', '91-37=54'] Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,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,0 Current State: 67:[91, 98], Operations: ['8+53=61', '37+61=98'] Exploring Operation: 91+98=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 98-91=7, Resulting Numbers: [7] 7,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 67:[53, 46], Operations: ['91-8=83', '83-37=46'] Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[83, 90], Operations: ['91-8=83', '53+37=90'] Exploring Operation: 90-83=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 83+90=173, Resulting Numbers: [173] 173,67 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 63, 38, 52, 94 ]
17
[ "63-38=25", "94-52=42", "42-25=17" ]
Current State: 17:[63, 38, 52, 94], Operations: [] Exploring Operation: 63-38=25, Resulting Numbers: [52, 94, 25] Generated Node #2: [52, 94, 25] from Operation: 63-38=25 Current State: 17:[52, 94, 25], Operations: ['63-38=25'] Exploring Operation: 94-52=42, Resulting Numbers: [25, 42] Generated Node #3: [25, 42] from Operation: 94-52=42 Current State: 17:[25, 42], Operations: ['63-38=25', '94-52=42'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[63, 38, 52, 94], Operations: [] Exploring Operation: 94-52=42, Resulting Numbers: [63, 38, 42] Generated Node #0,0: 17:[63, 38, 42] Operation: 94-52=42 Exploring Operation: 94-38=56, Resulting Numbers: [63, 52, 56] Generated Node #0,1: 17:[63, 52, 56] Operation: 94-38=56 Exploring Operation: 63-52=11, Resulting Numbers: [38, 94, 11] Generated Node #0,2: 17:[38, 94, 11] Operation: 63-52=11 Exploring Operation: 63-38=25, Resulting Numbers: [52, 94, 25] Generated Node #0,3: 17:[52, 94, 25] Operation: 63-38=25 Exploring Operation: 94-63=31, Resulting Numbers: [38, 52, 31] Generated Node #0,4: 17:[38, 52, 31] Operation: 94-63=31 Moving to Node #0,4 Current State: 17:[38, 52, 31], Operations: ['94-63=31'] Exploring Operation: 38-31=7, Resulting Numbers: [52, 7] Generated Node #0,4,0: 17:[52, 7] Operation: 38-31=7 Exploring Operation: 52-31=21, Resulting Numbers: [38, 21] Generated Node #0,4,1: 17:[38, 21] Operation: 52-31=21 Exploring Operation: 52-38=14, Resulting Numbers: [31, 14] Generated Node #0,4,2: 17:[31, 14] Operation: 52-38=14 Exploring Operation: 38+31=69, Resulting Numbers: [52, 69] Generated Node #0,4,3: 17:[52, 69] Operation: 38+31=69 Exploring Operation: 38+52=90, Resulting Numbers: [31, 90] Generated Node #0,4,4: 17:[31, 90] Operation: 38+52=90 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 17:[31, 14], Operations: ['94-63=31', '52-38=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[63, 38, 52, 94], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [38, 52, 31] Generated Node #0,4: 17:[38, 52, 31] Operation: 94-63=31 Moving to Node #0,4 Current State: 17:[38, 52, 31], Operations: ['94-63=31'] Exploring Operation: 52-38=14, Resulting Numbers: [31, 14] Generated Node #0,4,2: 17:[31, 14] Operation: 52-38=14 Moving to Node #0,4,2 Current State: 17:[31, 14], Operations: ['94-63=31', '52-38=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 60, 52, 55, 41 ]
12
[ "60-52=8", "55+41=96", "96/8=12" ]
Current State: 12:[60, 52, 55, 41], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [55, 41, 8] Generated Node #2: [55, 41, 8] from Operation: 60-52=8 Current State: 12:[55, 41, 8], Operations: ['60-52=8'] Exploring Operation: 55+41=96, Resulting Numbers: [8, 96] Generated Node #3: [8, 96] from Operation: 55+41=96 Current State: 12:[8, 96], Operations: ['60-52=8', '55+41=96'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[60, 52, 55, 41], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [52, 41, 5] Generated Node #0,0: 12:[52, 41, 5] Operation: 60-55=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[52, 41, 5], Operations: ['60-55=5'] Exploring Operation: 52-41=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 12:[5, 11] Operation: 52-41=11 Moving to Node #0,0,0 Current State: 12:[5, 11], Operations: ['60-55=5', '52-41=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,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
sum_heuristic
[ 41, 56, 94, 22 ]
57
[ "56-41=15", "94-22=72", "72-15=57" ]
Current State: 57:[41, 56, 94, 22], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [94, 22, 15] Generated Node #2: [94, 22, 15] from Operation: 56-41=15 Current State: 57:[94, 22, 15], Operations: ['56-41=15'] Exploring Operation: 94-22=72, Resulting Numbers: [15, 72] Generated Node #3: [15, 72] from Operation: 94-22=72 Current State: 57:[15, 72], Operations: ['56-41=15', '94-22=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[41, 56, 94, 22], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [41, 56, 72] Generated Node #0,0: 57:[41, 56, 72] Operation: 94-22=72 Exploring Operation: 94-41=53, Resulting Numbers: [56, 22, 53] Generated Node #0,1: 57:[56, 22, 53] Operation: 94-41=53 Moving to Node #0,1 Current State: 57:[56, 22, 53], Operations: ['94-41=53'] Exploring Operation: 56-53=3, Resulting Numbers: [22, 3] Generated Node #0,1,0: 57:[22, 3] Operation: 56-53=3 Exploring Operation: 53-22=31, Resulting Numbers: [56, 31] Generated Node #0,1,1: 57:[56, 31] Operation: 53-22=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[22, 3], Operations: ['94-41=53', '56-53=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[56, 31], Operations: ['94-41=53', '53-22=31'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,57 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: 57:[41, 56, 72], Operations: ['94-22=72'] Exploring Operation: 56-41=15, Resulting Numbers: [72, 15] Generated Node #0,0,0: 57:[72, 15] Operation: 56-41=15 Exploring Operation: 72-41=31, Resulting Numbers: [56, 31] Generated Node #0,0,1: 57:[56, 31] Operation: 72-41=31 Moving to Node #0,0,1 Current State: 57:[56, 31], Operations: ['94-22=72', '72-41=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[72, 15], Operations: ['94-22=72', '56-41=15'] Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[41, 56, 94, 22], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [41, 56, 72] Generated Node #0,0: 57:[41, 56, 72] Operation: 94-22=72 Moving to Node #0,0 Current State: 57:[41, 56, 72], Operations: ['94-22=72'] Exploring Operation: 56-41=15, Resulting Numbers: [72, 15] Generated Node #0,0,0: 57:[72, 15] Operation: 56-41=15 Moving to Node #0,0,0 Current State: 57:[72, 15], Operations: ['94-22=72', '56-41=15'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 72, 59, 12, 23 ]
96
[ "72+59=131", "12+23=35", "131-35=96" ]
Current State: 96:[72, 59, 12, 23], Operations: [] Exploring Operation: 72+59=131, Resulting Numbers: [12, 23, 131] Generated Node #2: [12, 23, 131] from Operation: 72+59=131 Current State: 96:[12, 23, 131], Operations: ['72+59=131'] Exploring Operation: 12+23=35, Resulting Numbers: [131, 35] Generated Node #3: [131, 35] from Operation: 12+23=35 Current State: 96:[131, 35], Operations: ['72+59=131', '12+23=35'] Exploring Operation: 131-35=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[72, 59, 12, 23], Operations: [] Exploring Operation: 72-59=13, Resulting Numbers: [12, 23, 13] Generated Node #0,0: 96:[12, 23, 13] Operation: 72-59=13 Moving to Node #0,0 Current State: 96:[12, 23, 13], Operations: ['72-59=13'] Exploring Operation: 23-12=11, Resulting Numbers: [13, 11] Generated Node #0,0,0: 96:[13, 11] Operation: 23-12=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[13, 11], Operations: ['72-59=13', '23-12=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,96 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
[ 30, 24, 18, 10 ]
15
[ "30-10=20", "18*20=360", "360/24=15" ]
Current State: 15:[30, 24, 18, 10], Operations: [] Exploring Operation: 30-10=20, Resulting Numbers: [24, 18, 20] Generated Node #2: [24, 18, 20] from Operation: 30-10=20 Current State: 15:[24, 18, 20], Operations: ['30-10=20'] Exploring Operation: 18*20=360, Resulting Numbers: [24, 360] Generated Node #3: [24, 360] from Operation: 18*20=360 Current State: 15:[24, 360], Operations: ['30-10=20', '18*20=360'] Exploring Operation: 360/24=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[30, 24, 18, 10], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [18, 10, 6] Generated Node #0,0: 15:[18, 10, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[18, 10, 6], Operations: ['30-24=6'] Exploring Operation: 18-10=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 15:[6, 8] Operation: 18-10=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[6, 8], Operations: ['30-24=6', '18-10=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 78, 11, 96, 15 ]
33
[ "96-78=18", "18-15=3", "11*3=33" ]
Current State: 33:[78, 11, 96, 15], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [11, 15, 18] Generated Node #2: [11, 15, 18] from Operation: 96-78=18 Current State: 33:[11, 15, 18], Operations: ['96-78=18'] Exploring Operation: 18-15=3, Resulting Numbers: [11, 3] Generated Node #3: [11, 3] from Operation: 18-15=3 Current State: 33:[11, 3], Operations: ['96-78=18', '18-15=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[78, 11, 96, 15], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [11, 15, 18] Generated Node #0,0: 33:[11, 15, 18] Operation: 96-78=18 Exploring Operation: 96-15=81, Resulting Numbers: [78, 11, 81] Generated Node #0,1: 33:[78, 11, 81] Operation: 96-15=81 Exploring Operation: 78-15=63, Resulting Numbers: [11, 96, 63] Generated Node #0,2: 33:[11, 96, 63] Operation: 78-15=63 Exploring Operation: 78-11=67, Resulting Numbers: [96, 15, 67] Generated Node #0,3: 33:[96, 15, 67] Operation: 78-11=67 Moving to Node #0,0 Current State: 33:[11, 15, 18], Operations: ['96-78=18'] Exploring Operation: 15-11=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 33:[18, 4] Operation: 15-11=4 Exploring Operation: 11+18=29, Resulting Numbers: [15, 29] Generated Node #0,0,1: 33:[15, 29] Operation: 11+18=29 Exploring Operation: 15+18=33, Resulting Numbers: [11, 33] Generated Node #0,0,2: 33:[11, 33] Operation: 15+18=33 Exploring Operation: 18-15=3, Resulting Numbers: [11, 3] Generated Node #0,0,3: 33:[11, 3] Operation: 18-15=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[11, 33], Operations: ['96-78=18', '15+18=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 33:[11, 3], Operations: ['96-78=18', '18-15=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[78, 11, 96, 15], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [11, 15, 18] Generated Node #0,0: 33:[11, 15, 18] Operation: 96-78=18 Moving to Node #0,0 Current State: 33:[11, 15, 18], Operations: ['96-78=18'] Exploring Operation: 18-15=3, Resulting Numbers: [11, 3] Generated Node #0,0,3: 33:[11, 3] Operation: 18-15=3 Moving to Node #0,0,3 Current State: 33:[11, 3], Operations: ['96-78=18', '18-15=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 46, 24, 88, 2 ]
20
[ "46+24=70", "88+2=90", "90-70=20" ]
Current State: 20:[46, 24, 88, 2], Operations: [] Exploring Operation: 46+24=70, Resulting Numbers: [88, 2, 70] Generated Node #2: [88, 2, 70] from Operation: 46+24=70 Current State: 20:[88, 2, 70], Operations: ['46+24=70'] Exploring Operation: 88+2=90, Resulting Numbers: [70, 90] Generated Node #3: [70, 90] from Operation: 88+2=90 Current State: 20:[70, 90], Operations: ['46+24=70', '88+2=90'] Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[46, 24, 88, 2], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [24, 2, 42] Generated Node #0,0: 20:[24, 2, 42] Operation: 88-46=42 Exploring Operation: 88-24=64, Resulting Numbers: [46, 2, 64] Generated Node #0,1: 20:[46, 2, 64] Operation: 88-24=64 Exploring Operation: 88/2=44, Resulting Numbers: [46, 24, 44] Generated Node #0,2: 20:[46, 24, 44] Operation: 88/2=44 Exploring Operation: 46-24=22, Resulting Numbers: [88, 2, 22] Generated Node #0,3: 20:[88, 2, 22] Operation: 46-24=22 Exploring Operation: 46/2=23, Resulting Numbers: [24, 88, 23] Generated Node #0,4: 20:[24, 88, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[24, 2, 42], Operations: ['88-46=42'] Exploring Operation: 42-24=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 20:[2, 18] Operation: 42-24=18 Exploring Operation: 42-2=40, Resulting Numbers: [24, 40] Generated Node #0,0,1: 20:[24, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [24, 21] Generated Node #0,0,2: 20:[24, 21] Operation: 42/2=21 Exploring Operation: 24/2=12, Resulting Numbers: [42, 12] Generated Node #0,0,3: 20:[42, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [42, 22] Generated Node #0,0,4: 20:[42, 22] Operation: 24-2=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[2, 18], Operations: ['88-46=42', '42-24=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[46, 24, 88, 2], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [24, 2, 42] Generated Node #0,0: 20:[24, 2, 42] Operation: 88-46=42 Moving to Node #0,0 Current State: 20:[24, 2, 42], Operations: ['88-46=42'] Exploring Operation: 42-24=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 20:[2, 18] Operation: 42-24=18 Moving to Node #0,0,0 Current State: 20:[2, 18], Operations: ['88-46=42', '42-24=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 72, 92, 91, 87 ]
15
[ "87-72=15", "92-91=1", "15*1=15" ]
Current State: 15:[72, 92, 91, 87], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [92, 91, 15] Generated Node #2: [92, 91, 15] from Operation: 87-72=15 Current State: 15:[92, 91, 15], Operations: ['87-72=15'] Exploring Operation: 92-91=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 92-91=1 Current State: 15:[15, 1], Operations: ['87-72=15', '92-91=1'] Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[72, 92, 91, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [72, 91, 5] Generated Node #0,0: 15:[72, 91, 5] Operation: 92-87=5 Exploring Operation: 92-91=1, Resulting Numbers: [72, 87, 1] Generated Node #0,1: 15:[72, 87, 1] Operation: 92-91=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[72, 87, 1], Operations: ['92-91=1'] Exploring Operation: 72-1=71, Resulting Numbers: [87, 71] Generated Node #0,1,0: 15:[87, 71] Operation: 72-1=71 Exploring Operation: 87-72=15, Resulting Numbers: [1, 15] Generated Node #0,1,1: 15:[1, 15] Operation: 87-72=15 Moving to Node #0,1,1 Current State: 15:[1, 15], Operations: ['92-91=1', '87-72=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[72, 92, 91, 87], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [72, 87, 1] Generated Node #0,1: 15:[72, 87, 1] Operation: 92-91=1 Moving to Node #0,1 Current State: 15:[72, 87, 1], Operations: ['92-91=1'] Exploring Operation: 87-72=15, Resulting Numbers: [1, 15] Generated Node #0,1,1: 15:[1, 15] Operation: 87-72=15 Moving to Node #0,1,1 Current State: 15:[1, 15], Operations: ['92-91=1', '87-72=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 55, 46, 53, 45 ]
25
[ "55*45=2475", "46+53=99", "2475/99=25" ]
Current State: 25:[55, 46, 53, 45], Operations: [] Exploring Operation: 55*45=2475, Resulting Numbers: [46, 53, 2475] Generated Node #2: [46, 53, 2475] from Operation: 55*45=2475 Current State: 25:[46, 53, 2475], Operations: ['55*45=2475'] Exploring Operation: 46+53=99, Resulting Numbers: [2475, 99] Generated Node #3: [2475, 99] from Operation: 46+53=99 Current State: 25:[2475, 99], Operations: ['55*45=2475', '46+53=99'] Exploring Operation: 2475/99=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[55, 46, 53, 45], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [46, 45, 2] Generated Node #0,0: 25:[46, 45, 2] Operation: 55-53=2 Moving to Node #0,0 Current State: 25:[46, 45, 2], Operations: ['55-53=2'] Exploring Operation: 46-45=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 25:[2, 1] Operation: 46-45=1 Moving to Node #0,0,0 Current State: 25:[2, 1], Operations: ['55-53=2', '46-45=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,25 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 47, 2, 57, 28 ]
78
[ "47+2=49", "57-28=29", "49+29=78" ]
Current State: 78:[47, 2, 57, 28], Operations: [] Exploring Operation: 47+2=49, Resulting Numbers: [57, 28, 49] Generated Node #2: [57, 28, 49] from Operation: 47+2=49 Current State: 78:[57, 28, 49], Operations: ['47+2=49'] Exploring Operation: 57-28=29, Resulting Numbers: [49, 29] Generated Node #3: [49, 29] from Operation: 57-28=29 Current State: 78:[49, 29], Operations: ['47+2=49', '57-28=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[47, 2, 57, 28], Operations: [] Exploring Operation: 47+28=75, Resulting Numbers: [2, 57, 75] Generated Node #0,0: 78:[2, 57, 75] Operation: 47+28=75 Exploring Operation: 57-47=10, Resulting Numbers: [2, 28, 10] Generated Node #0,1: 78:[2, 28, 10] Operation: 57-47=10 Exploring Operation: 57+28=85, Resulting Numbers: [47, 2, 85] Generated Node #0,2: 78:[47, 2, 85] Operation: 57+28=85 Exploring Operation: 57-28=29, Resulting Numbers: [47, 2, 29] Generated Node #0,3: 78:[47, 2, 29] Operation: 57-28=29 Exploring Operation: 47-28=19, Resulting Numbers: [2, 57, 19] Generated Node #0,4: 78:[2, 57, 19] Operation: 47-28=19 Moving to Node #0,1 Current State: 78:[2, 28, 10], Operations: ['57-47=10'] Exploring Operation: 28/2=14, Resulting Numbers: [10, 14] Generated Node #0,1,0: 78:[10, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [10, 26] Generated Node #0,1,1: 78:[10, 26] Operation: 28-2=26 Exploring Operation: 10/2=5, Resulting Numbers: [28, 5] Generated Node #0,1,2: 78:[28, 5] Operation: 10/2=5 Exploring Operation: 2+10=12, Resulting Numbers: [28, 12] Generated Node #0,1,3: 78:[28, 12] Operation: 2+10=12 Exploring Operation: 28+10=38, Resulting Numbers: [2, 38] Generated Node #0,1,4: 78:[2, 38] Operation: 28+10=38 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 78:[2, 38], Operations: ['57-47=10', '28+10=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,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,1 Current State: 78:[10, 26], Operations: ['57-47=10', '28-2=26'] Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,78 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,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,2 Current State: 78:[28, 5], Operations: ['57-47=10', '10/2=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,78 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[28, 12], Operations: ['57-47=10', '2+10=12'] Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,78 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,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:[10, 14], Operations: ['57-47=10', '28/2=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,78 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: 78:[47, 2, 29], Operations: ['57-28=29'] Exploring Operation: 47-2=45, Resulting Numbers: [29, 45] Generated Node #0,3,0: 78:[29, 45] Operation: 47-2=45 Exploring Operation: 29-2=27, Resulting Numbers: [47, 27] Generated Node #0,3,1: 78:[47, 27] Operation: 29-2=27 Exploring Operation: 47-29=18, Resulting Numbers: [2, 18] Generated Node #0,3,2: 78:[2, 18] Operation: 47-29=18 Exploring Operation: 47+2=49, Resulting Numbers: [29, 49] Generated Node #0,3,3: 78:[29, 49] Operation: 47+2=49 Exploring Operation: 47+29=76, Resulting Numbers: [2, 76] Generated Node #0,3,4: 78:[2, 76] Operation: 47+29=76 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 78:[2, 76], Operations: ['57-28=29', '47+29=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,78 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[47, 2, 57, 28], Operations: [] Exploring Operation: 57-28=29, Resulting Numbers: [47, 2, 29] Generated Node #0,3: 78:[47, 2, 29] Operation: 57-28=29 Moving to Node #0,3 Current State: 78:[47, 2, 29], Operations: ['57-28=29'] Exploring Operation: 47+29=76, Resulting Numbers: [2, 76] Generated Node #0,3,4: 78:[2, 76] Operation: 47+29=76 Moving to Node #0,3,4 Current State: 78:[2, 76], Operations: ['57-28=29', '47+29=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 3, 93, 33, 63 ]
39
[ "63/3=21", "93-33=60", "60-21=39" ]
Current State: 39:[3, 93, 33, 63], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [93, 33, 21] Generated Node #2: [93, 33, 21] from Operation: 63/3=21 Current State: 39:[93, 33, 21], Operations: ['63/3=21'] Exploring Operation: 93-33=60, Resulting Numbers: [21, 60] Generated Node #3: [21, 60] from Operation: 93-33=60 Current State: 39:[21, 60], Operations: ['63/3=21', '93-33=60'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[3, 93, 33, 63], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [3, 33, 30] Generated Node #0,0: 39:[3, 33, 30] Operation: 93-63=30 Moving to Node #0,0 Current State: 39:[3, 33, 30], Operations: ['93-63=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 39:[3, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[3, 3], Operations: ['93-63=30', '33-30=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 92, 4, 74, 2 ]
11
[ "92+4=96", "96-74=22", "22/2=11" ]
Current State: 11:[92, 4, 74, 2], Operations: [] Exploring Operation: 92+4=96, Resulting Numbers: [74, 2, 96] Generated Node #2: [74, 2, 96] from Operation: 92+4=96 Current State: 11:[74, 2, 96], Operations: ['92+4=96'] Exploring Operation: 96-74=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 96-74=22 Current State: 11:[2, 22], Operations: ['92+4=96', '96-74=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[92, 4, 74, 2], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [4, 2, 18] Generated Node #0,0: 11:[4, 2, 18] Operation: 92-74=18 Exploring Operation: 4*2=8, Resulting Numbers: [92, 74, 8] Generated Node #0,1: 11:[92, 74, 8] Operation: 4*2=8 Exploring Operation: 92/4=23, Resulting Numbers: [74, 2, 23] Generated Node #0,2: 11:[74, 2, 23] Operation: 92/4=23 Exploring Operation: 74/2=37, Resulting Numbers: [92, 4, 37] Generated Node #0,3: 11:[92, 4, 37] Operation: 74/2=37 Exploring Operation: 92/2=46, Resulting Numbers: [4, 74, 46] Generated Node #0,4: 11:[4, 74, 46] Operation: 92/2=46 Moving to Node #0,0 Current State: 11:[4, 2, 18], Operations: ['92-74=18'] Exploring Operation: 4*2=8, Resulting Numbers: [18, 8] Generated Node #0,0,0: 11:[18, 8] Operation: 4*2=8 Exploring Operation: 18-4=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 11:[2, 14] Operation: 18-4=14 Exploring Operation: 4+2=6, Resulting Numbers: [18, 6] Generated Node #0,0,2: 11:[18, 6] Operation: 4+2=6 Exploring Operation: 18/2=9, Resulting Numbers: [4, 9] Generated Node #0,0,3: 11:[4, 9] Operation: 18/2=9 Exploring Operation: 18-2=16, Resulting Numbers: [4, 16] Generated Node #0,0,4: 11:[4, 16] Operation: 18-2=16 Moving to Node #0,2 Current State: 11:[74, 2, 23], Operations: ['92/4=23'] Exploring Operation: 74/2=37, Resulting Numbers: [23, 37] Generated Node #0,2,0: 11:[23, 37] Operation: 74/2=37 Exploring Operation: 74+2=76, Resulting Numbers: [23, 76] Generated Node #0,2,1: 11:[23, 76] Operation: 74+2=76 Exploring Operation: 74-23=51, Resulting Numbers: [2, 51] Generated Node #0,2,2: 11:[2, 51] Operation: 74-23=51 Exploring Operation: 23-2=21, Resulting Numbers: [74, 21] Generated Node #0,2,3: 11:[74, 21] Operation: 23-2=21 Exploring Operation: 74-2=72, Resulting Numbers: [23, 72] Generated Node #0,2,4: 11:[23, 72] Operation: 74-2=72 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[23, 37], Operations: ['92/4=23', '74/2=37'] Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,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,2,2 Current State: 11:[2, 51], Operations: ['92/4=23', '74-23=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,11 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,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,2,3 Current State: 11:[74, 21], Operations: ['92/4=23', '23-2=21'] Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,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,2,4 Current State: 11:[23, 72], Operations: ['92/4=23', '74-2=72'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,11 unequal: No Solution Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,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,2,1 Current State: 11:[23, 76], Operations: ['92/4=23', '74+2=76'] Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 23*76=1748, Resulting Numbers: [1748] 1748,11 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: 11:[4, 74, 46], Operations: ['92/2=46'] Exploring Operation: 46-4=42, Resulting Numbers: [74, 42] Generated Node #0,4,0: 11:[74, 42] Operation: 46-4=42 Exploring Operation: 4+74=78, Resulting Numbers: [46, 78] Generated Node #0,4,1: 11:[46, 78] Operation: 4+74=78 Exploring Operation: 74-46=28, Resulting Numbers: [4, 28] Generated Node #0,4,2: 11:[4, 28] Operation: 74-46=28 Exploring Operation: 4+46=50, Resulting Numbers: [74, 50] Generated Node #0,4,3: 11:[74, 50] Operation: 4+46=50 Exploring Operation: 74-4=70, Resulting Numbers: [46, 70] Generated Node #0,4,4: 11:[46, 70] Operation: 74-4=70 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[4, 28], Operations: ['92/2=46', '74-46=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,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,4,0 Current State: 11:[74, 42], Operations: ['92/2=46', '46-4=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,11 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,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,4,4 Current State: 11:[46, 70], Operations: ['92/2=46', '74-4=70'] Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,11 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,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,4,1 Current State: 11:[46, 78], Operations: ['92/2=46', '4+74=78'] Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,11 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,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,4,3 Current State: 11:[74, 50], Operations: ['92/2=46', '4+46=50'] Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,11 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: 11:[92, 4, 37], Operations: ['74/2=37'] Exploring Operation: 92+4=96, Resulting Numbers: [37, 96] Generated Node #0,3,0: 11:[37, 96] Operation: 92+4=96 Exploring Operation: 92-37=55, Resulting Numbers: [4, 55] Generated Node #0,3,1: 11:[4, 55] Operation: 92-37=55 Exploring Operation: 92-4=88, Resulting Numbers: [37, 88] Generated Node #0,3,2: 11:[37, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [37, 23] Generated Node #0,3,3: 11:[37, 23] Operation: 92/4=23 Exploring Operation: 37-4=33, Resulting Numbers: [92, 33] Generated Node #0,3,4: 11:[92, 33] Operation: 37-4=33 Moving to Node #0,1 Current State: 11:[92, 74, 8], Operations: ['4*2=8'] Exploring Operation: 92-8=84, Resulting Numbers: [74, 84] Generated Node #0,1,0: 11:[74, 84] Operation: 92-8=84 Exploring Operation: 74+8=82, Resulting Numbers: [92, 82] Generated Node #0,1,1: 11:[92, 82] Operation: 74+8=82 Exploring Operation: 74-8=66, Resulting Numbers: [92, 66] Generated Node #0,1,2: 11:[92, 66] Operation: 74-8=66 Exploring Operation: 92+8=100, Resulting Numbers: [74, 100] Generated Node #0,1,3: 11:[74, 100] Operation: 92+8=100 Exploring Operation: 92-74=18, Resulting Numbers: [8, 18] Generated Node #0,1,4: 11:[8, 18] Operation: 92-74=18 Moving to Node #0,0,3 Current State: 11:[4, 9], Operations: ['92-74=18', '18/2=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[18, 8], Operations: ['92-74=18', '4*2=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[8, 18], Operations: ['4*2=8', '92-74=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[2, 14], Operations: ['92-74=18', '18-4=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[4, 16], Operations: ['92-74=18', '18-2=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[18, 6], Operations: ['92-74=18', '4+2=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[37, 23], Operations: ['74/2=37', '92/4=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,11 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[4, 55], Operations: ['74/2=37', '92-37=55'] Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,11 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,11 unequal: No Solution Moving to Node #0,3,4 Current State: 11:[92, 33], Operations: ['74/2=37', '37-4=33'] Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,11 unequal: No Solution Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[37, 88], Operations: ['74/2=37', '92-4=88'] Exploring Operation: 37*88=3256, Resulting Numbers: [3256] 3256,11 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 37+88=125, Resulting Numbers: [125] 125,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[37, 96], Operations: ['74/2=37', '92+4=96'] Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 37*96=3552, Resulting Numbers: [3552] 3552,11 unequal: No Solution Exploring Operation: 37+96=133, Resulting Numbers: [133] 133,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[74, 84], Operations: ['4*2=8', '92-8=84'] Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,11 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[92, 66], Operations: ['4*2=8', '74-8=66'] Exploring Operation: 92*66=6072, Resulting Numbers: [6072] 6072,11 unequal: No Solution Exploring Operation: 92+66=158, Resulting Numbers: [158] 158,11 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[74, 100], Operations: ['4*2=8', '92+8=100'] Exploring Operation: 74*100=7400, Resulting Numbers: [7400] 7400,11 unequal: No Solution Exploring Operation: 100-74=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 74+100=174, Resulting Numbers: [174] 174,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[92, 82], Operations: ['4*2=8', '74+8=82'] Exploring Operation: 92*82=7544, Resulting Numbers: [7544] 7544,11 unequal: No Solution Exploring Operation: 92+82=174, Resulting Numbers: [174] 174,11 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,11 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 33, 24, 7, 77 ]
99
[ "33-24=9", "77/7=11", "9*11=99" ]
Current State: 99:[33, 24, 7, 77], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [7, 77, 9] Generated Node #2: [7, 77, 9] from Operation: 33-24=9 Current State: 99:[7, 77, 9], Operations: ['33-24=9'] Exploring Operation: 77/7=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 77/7=11 Current State: 99:[9, 11], Operations: ['33-24=9', '77/7=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[33, 24, 7, 77], Operations: [] Exploring Operation: 33+77=110, Resulting Numbers: [24, 7, 110] Generated Node #0,0: 99:[24, 7, 110] Operation: 33+77=110 Exploring Operation: 24+77=101, Resulting Numbers: [33, 7, 101] Generated Node #0,1: 99:[33, 7, 101] Operation: 24+77=101 Exploring Operation: 77/7=11, Resulting Numbers: [33, 24, 11] Generated Node #0,2: 99:[33, 24, 11] Operation: 77/7=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[33, 7, 101], Operations: ['24+77=101'] Exploring Operation: 33-7=26, Resulting Numbers: [101, 26] Generated Node #0,1,0: 99:[101, 26] Operation: 33-7=26 Exploring Operation: 33+7=40, Resulting Numbers: [101, 40] Generated Node #0,1,1: 99:[101, 40] Operation: 33+7=40 Exploring Operation: 101-7=94, Resulting Numbers: [33, 94] Generated Node #0,1,2: 99:[33, 94] Operation: 101-7=94 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[33, 94], Operations: ['24+77=101', '101-7=94'] Exploring Operation: 33*94=3102, Resulting Numbers: [3102] 3102,99 unequal: No Solution Exploring Operation: 33+94=127, Resulting Numbers: [127] 127,99 unequal: No Solution Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,99 unequal: No Solution No 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: 99:[101, 26], Operations: ['24+77=101', '33-7=26'] Exploring Operation: 101*26=2626, Resulting Numbers: [2626] 2626,99 unequal: No Solution Exploring Operation: 101-26=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 101+26=127, Resulting Numbers: [127] 127,99 unequal: No Solution No 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: 99:[101, 40], Operations: ['24+77=101', '33+7=40'] Exploring Operation: 101+40=141, Resulting Numbers: [141] 141,99 unequal: No Solution Exploring Operation: 101-40=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 101*40=4040, Resulting Numbers: [4040] 4040,99 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: 99:[33, 24, 11], Operations: ['77/7=11'] Exploring Operation: 24-11=13, Resulting Numbers: [33, 13] Generated Node #0,2,0: 99:[33, 13] Operation: 24-11=13 Exploring Operation: 24+11=35, Resulting Numbers: [33, 35] Generated Node #0,2,1: 99:[33, 35] Operation: 24+11=35 Exploring Operation: 33-24=9, Resulting Numbers: [11, 9] Generated Node #0,2,2: 99:[11, 9] Operation: 33-24=9 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[11, 9], Operations: ['77/7=11', '33-24=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[33, 24, 7, 77], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [33, 24, 11] Generated Node #0,2: 99:[33, 24, 11] Operation: 77/7=11 Moving to Node #0,2 Current State: 99:[33, 24, 11], Operations: ['77/7=11'] Exploring Operation: 33-24=9, Resulting Numbers: [11, 9] Generated Node #0,2,2: 99:[11, 9] Operation: 33-24=9 Moving to Node #0,2,2 Current State: 99:[11, 9], Operations: ['77/7=11', '33-24=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 8, 83, 86, 3 ]
96
[ "83-3=80", "80/8=10", "86+10=96" ]
Current State: 96:[8, 83, 86, 3], Operations: [] Exploring Operation: 83-3=80, Resulting Numbers: [8, 86, 80] Generated Node #2: [8, 86, 80] from Operation: 83-3=80 Current State: 96:[8, 86, 80], Operations: ['83-3=80'] Exploring Operation: 80/8=10, Resulting Numbers: [86, 10] Generated Node #3: [86, 10] from Operation: 80/8=10 Current State: 96:[86, 10], Operations: ['83-3=80', '80/8=10'] Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[8, 83, 86, 3], Operations: [] Exploring Operation: 8+86=94, Resulting Numbers: [83, 3, 94] Generated Node #0,0: 96:[83, 3, 94] Operation: 8+86=94 Exploring Operation: 86+3=89, Resulting Numbers: [8, 83, 89] Generated Node #0,1: 96:[8, 83, 89] Operation: 86+3=89 Exploring Operation: 83+3=86, Resulting Numbers: [8, 86, 86] Generated Node #0,2: 96:[8, 86, 86] Operation: 83+3=86 Exploring Operation: 8+83=91, Resulting Numbers: [86, 3, 91] Generated Node #0,3: 96:[86, 3, 91] Operation: 8+83=91 Exploring Operation: 86-83=3, Resulting Numbers: [8, 3, 3] Generated Node #0,4: 96:[8, 3, 3] Operation: 86-83=3 Moving to Node #0,4 Current State: 96:[8, 3, 3], Operations: ['86-83=3'] Exploring Operation: 8*3=24, Resulting Numbers: [3, 24] Generated Node #0,4,0: 96:[3, 24] Operation: 8*3=24 Exploring Operation: 3+3=6, Resulting Numbers: [8, 6] Generated Node #0,4,1: 96:[8, 6] Operation: 3+3=6 Exploring Operation: 8*3=24, Resulting Numbers: [3, 24] Generated Node #0,4,2: 96:[3, 24] Operation: 8*3=24 Exploring Operation: 8-3=5, Resulting Numbers: [3, 5] Generated Node #0,4,3: 96:[3, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [3, 11] Generated Node #0,4,4: 96:[3, 11] Operation: 8+3=11 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 96:[3, 24], Operations: ['86-83=3', '8*3=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,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,4,1 Current State: 96:[8, 6], Operations: ['86-83=3', '3+3=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,96 unequal: No Solution No 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: 96:[3, 24], Operations: ['86-83=3', '8*3=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,96 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 96:[3, 5], Operations: ['86-83=3', '8-3=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,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,4,4 Current State: 96:[3, 11], Operations: ['86-83=3', '8+3=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 96:[86, 3, 91], Operations: ['8+83=91'] Exploring Operation: 86-3=83, Resulting Numbers: [91, 83] Generated Node #0,3,0: 96:[91, 83] Operation: 86-3=83 Exploring Operation: 91-3=88, Resulting Numbers: [86, 88] Generated Node #0,3,1: 96:[86, 88] Operation: 91-3=88 Exploring Operation: 91-86=5, Resulting Numbers: [3, 5] Generated Node #0,3,2: 96:[3, 5] Operation: 91-86=5 Exploring Operation: 3+91=94, Resulting Numbers: [86, 94] Generated Node #0,3,3: 96:[86, 94] Operation: 3+91=94 Exploring Operation: 86+3=89, Resulting Numbers: [91, 89] Generated Node #0,3,4: 96:[91, 89] Operation: 86+3=89 Moving to Node #0,0 Current State: 96:[83, 3, 94], Operations: ['8+86=94'] Exploring Operation: 83-3=80, Resulting Numbers: [94, 80] Generated Node #0,0,0: 96:[94, 80] Operation: 83-3=80 Exploring Operation: 3+94=97, Resulting Numbers: [83, 97] Generated Node #0,0,1: 96:[83, 97] Operation: 3+94=97 Exploring Operation: 83+3=86, Resulting Numbers: [94, 86] Generated Node #0,0,2: 96:[94, 86] Operation: 83+3=86 Exploring Operation: 94-83=11, Resulting Numbers: [3, 11] Generated Node #0,0,3: 96:[3, 11] Operation: 94-83=11 Exploring Operation: 94-3=91, Resulting Numbers: [83, 91] Generated Node #0,0,4: 96:[83, 91] Operation: 94-3=91 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[3, 11], Operations: ['8+86=94', '94-83=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[94, 86], Operations: ['8+86=94', '83+3=86'] Exploring Operation: 94+86=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 94*86=8084, Resulting Numbers: [8084] 8084,96 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,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:[83, 97], Operations: ['8+86=94', '3+94=97'] Exploring Operation: 83+97=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 97-83=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 83*97=8051, Resulting Numbers: [8051] 8051,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[94, 80], Operations: ['8+86=94', '83-3=80'] Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,96 unequal: No Solution Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,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,4 Current State: 96:[83, 91], Operations: ['8+86=94', '94-3=91'] Exploring Operation: 83*91=7553, Resulting Numbers: [7553] 7553,96 unequal: No Solution Exploring Operation: 83+91=174, Resulting Numbers: [174] 174,96 unequal: No Solution Exploring Operation: 91-83=8, Resulting Numbers: [8] 8,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:[8, 83, 89], Operations: ['86+3=89'] Exploring Operation: 83-8=75, Resulting Numbers: [89, 75] Generated Node #0,1,0: 96:[89, 75] Operation: 83-8=75 Exploring Operation: 89-8=81, Resulting Numbers: [83, 81] Generated Node #0,1,1: 96:[83, 81] Operation: 89-8=81 Exploring Operation: 8+89=97, Resulting Numbers: [83, 97] Generated Node #0,1,2: 96:[83, 97] Operation: 8+89=97 Exploring Operation: 89-83=6, Resulting Numbers: [8, 6] Generated Node #0,1,3: 96:[8, 6] Operation: 89-83=6 Exploring Operation: 8+83=91, Resulting Numbers: [89, 91] Generated Node #0,1,4: 96:[89, 91] Operation: 8+83=91 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[8, 6], Operations: ['86+3=89', '89-83=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,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,4 Current State: 96:[89, 91], Operations: ['86+3=89', '8+83=91'] Exploring Operation: 89+91=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 89*91=8099, Resulting Numbers: [8099] 8099,96 unequal: No Solution Exploring Operation: 91-89=2, Resulting Numbers: [2] 2,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[83, 97], Operations: ['86+3=89', '8+89=97'] Exploring Operation: 97-83=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 83+97=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 83*97=8051, Resulting Numbers: [8051] 8051,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[89, 75], Operations: ['86+3=89', '83-8=75'] Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,96 unequal: No Solution Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,96 unequal: No Solution Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,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:[83, 81], Operations: ['86+3=89', '89-8=81'] Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,96 unequal: No Solution Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,96 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: 96:[8, 86, 86], Operations: ['83+3=86'] Exploring Operation: 86/86=1, Resulting Numbers: [8, 1] Generated Node #0,2,0: 96:[8, 1] Operation: 86/86=1 Exploring Operation: 8+86=94, Resulting Numbers: [86, 94] Generated Node #0,2,1: 96:[86, 94] Operation: 8+86=94 Exploring Operation: 86-86=0, Resulting Numbers: [8, 0] Generated Node #0,2,2: 96:[8, 0] Operation: 86-86=0 Exploring Operation: 86-8=78, Resulting Numbers: [86, 78] Generated Node #0,2,3: 96:[86, 78] Operation: 86-8=78 Exploring Operation: 8+86=94, Resulting Numbers: [86, 94] Generated Node #0,2,4: 96:[86, 94] Operation: 8+86=94 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[8, 1], Operations: ['83+3=86', '86/86=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[8, 0], Operations: ['83+3=86', '86-86=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[86, 94], Operations: ['83+3=86', '8+86=94'] Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 96:[86, 94], Operations: ['83+3=86', '8+86=94'] Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,96 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[86, 78], Operations: ['83+3=86', '86-8=78'] Exploring Operation: 86*78=6708, Resulting Numbers: [6708] 6708,96 unequal: No Solution Exploring Operation: 86+78=164, Resulting Numbers: [164] 164,96 unequal: No Solution Exploring Operation: 86-78=8, Resulting Numbers: [8] 8,96 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: 96:[3, 5], Operations: ['8+83=91', '91-86=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,96 unequal: No Solution Moving to Node #0,3,4 Current State: 96:[91, 89], Operations: ['8+83=91', '86+3=89'] Exploring Operation: 91+89=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 91-89=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 91*89=8099, Resulting Numbers: [8099] 8099,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[86, 94], Operations: ['8+83=91', '3+91=94'] Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[91, 83], Operations: ['8+83=91', '86-3=83'] Exploring Operation: 91-83=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 91*83=7553, Resulting Numbers: [7553] 7553,96 unequal: No Solution Exploring Operation: 91+83=174, Resulting Numbers: [174] 174,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[86, 88], Operations: ['8+83=91', '91-3=88'] Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,96 unequal: No Solution Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,96 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 78, 1, 66, 11 ]
12
[ "78+66=144", "1+11=12", "144/12=12" ]
Current State: 12:[78, 1, 66, 11], Operations: [] Exploring Operation: 78+66=144, Resulting Numbers: [1, 11, 144] Generated Node #2: [1, 11, 144] from Operation: 78+66=144 Current State: 12:[1, 11, 144], Operations: ['78+66=144'] Exploring Operation: 1+11=12, Resulting Numbers: [144, 12] Generated Node #3: [144, 12] from Operation: 1+11=12 Current State: 12:[144, 12], Operations: ['78+66=144', '1+11=12'] Exploring Operation: 144/12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[78, 1, 66, 11], Operations: [] Exploring Operation: 78-66=12, Resulting Numbers: [1, 11, 12] Generated Node #0,0: 12:[1, 11, 12] Operation: 78-66=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[1, 11, 12], Operations: ['78-66=12'] Exploring Operation: 1+11=12, Resulting Numbers: [12, 12] Generated Node #0,0,0: 12:[12, 12] Operation: 1+11=12 Moving to Node #0,0,0 Current State: 12:[12, 12], Operations: ['78-66=12', '1+11=12'] Exploring Operation: 12/12=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
[ 10, 52, 56, 60 ]
45
[ "52-10=42", "60*42=2520", "2520/56=45" ]
Current State: 45:[10, 52, 56, 60], Operations: [] Exploring Operation: 52-10=42, Resulting Numbers: [56, 60, 42] Generated Node #2: [56, 60, 42] from Operation: 52-10=42 Current State: 45:[56, 60, 42], Operations: ['52-10=42'] Exploring Operation: 60*42=2520, Resulting Numbers: [56, 2520] Generated Node #3: [56, 2520] from Operation: 60*42=2520 Current State: 45:[56, 2520], Operations: ['52-10=42', '60*42=2520'] Exploring Operation: 2520/56=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[10, 52, 56, 60], Operations: [] Exploring Operation: 56-10=46, Resulting Numbers: [52, 60, 46] Generated Node #0,0: 45:[52, 60, 46] Operation: 56-10=46 Exploring Operation: 60-52=8, Resulting Numbers: [10, 56, 8] Generated Node #0,1: 45:[10, 56, 8] Operation: 60-52=8 Exploring Operation: 60/10=6, Resulting Numbers: [52, 56, 6] Generated Node #0,2: 45:[52, 56, 6] Operation: 60/10=6 Exploring Operation: 56-52=4, Resulting Numbers: [10, 60, 4] Generated Node #0,3: 45:[10, 60, 4] Operation: 56-52=4 Exploring Operation: 60-56=4, Resulting Numbers: [10, 52, 4] Generated Node #0,4: 45:[10, 52, 4] Operation: 60-56=4 Moving to Node #0,4 Current State: 45:[10, 52, 4], Operations: ['60-56=4'] Exploring Operation: 52-4=48, Resulting Numbers: [10, 48] Generated Node #0,4,0: 45:[10, 48] Operation: 52-4=48 Exploring Operation: 52-10=42, Resulting Numbers: [4, 42] Generated Node #0,4,1: 45:[4, 42] Operation: 52-10=42 Exploring Operation: 52/4=13, Resulting Numbers: [10, 13] Generated Node #0,4,2: 45:[10, 13] Operation: 52/4=13 Exploring Operation: 10-4=6, Resulting Numbers: [52, 6] Generated Node #0,4,3: 45:[52, 6] Operation: 10-4=6 Exploring Operation: 10+4=14, Resulting Numbers: [52, 14] Generated Node #0,4,4: 45:[52, 14] Operation: 10+4=14 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 45:[10, 13], Operations: ['60-56=4', '52/4=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,45 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,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,4,0 Current State: 45:[10, 48], Operations: ['60-56=4', '52-4=48'] Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,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,4,1 Current State: 45:[4, 42], Operations: ['60-56=4', '52-10=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,45 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,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,4,3 Current State: 45:[52, 6], Operations: ['60-56=4', '10-4=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,45 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,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,4,4 Current State: 45:[52, 14], Operations: ['60-56=4', '10+4=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,45 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,45 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: 45:[10, 56, 8], Operations: ['60-52=8'] Exploring Operation: 56/8=7, Resulting Numbers: [10, 7] Generated Node #0,1,0: 45:[10, 7] Operation: 56/8=7 Exploring Operation: 10+8=18, Resulting Numbers: [56, 18] Generated Node #0,1,1: 45:[56, 18] Operation: 10+8=18 Exploring Operation: 56-8=48, Resulting Numbers: [10, 48] Generated Node #0,1,2: 45:[10, 48] Operation: 56-8=48 Exploring Operation: 10-8=2, Resulting Numbers: [56, 2] Generated Node #0,1,3: 45:[56, 2] Operation: 10-8=2 Exploring Operation: 56-10=46, Resulting Numbers: [8, 46] Generated Node #0,1,4: 45:[8, 46] Operation: 56-10=46 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[8, 46], Operations: ['60-52=8', '56-10=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,45 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,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,0 Current State: 45:[10, 7], Operations: ['60-52=8', '56/8=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,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,2 Current State: 45:[10, 48], Operations: ['60-52=8', '56-8=48'] Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,45 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,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,3 Current State: 45:[56, 2], Operations: ['60-52=8', '10-8=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,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:[56, 18], Operations: ['60-52=8', '10+8=18'] Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,45 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,45 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: 45:[10, 60, 4], Operations: ['56-52=4'] Exploring Operation: 60/10=6, Resulting Numbers: [4, 6] Generated Node #0,3,0: 45:[4, 6] Operation: 60/10=6 Exploring Operation: 60/4=15, Resulting Numbers: [10, 15] Generated Node #0,3,1: 45:[10, 15] Operation: 60/4=15 Exploring Operation: 60-10=50, Resulting Numbers: [4, 50] Generated Node #0,3,2: 45:[4, 50] Operation: 60-10=50 Exploring Operation: 10+4=14, Resulting Numbers: [60, 14] Generated Node #0,3,3: 45:[60, 14] Operation: 10+4=14 Exploring Operation: 60-4=56, Resulting Numbers: [10, 56] Generated Node #0,3,4: 45:[10, 56] Operation: 60-4=56 Moving to Node #0,2 Current State: 45:[52, 56, 6], Operations: ['60/10=6'] Exploring Operation: 56-6=50, Resulting Numbers: [52, 50] Generated Node #0,2,0: 45:[52, 50] Operation: 56-6=50 Exploring Operation: 56-52=4, Resulting Numbers: [6, 4] Generated Node #0,2,1: 45:[6, 4] Operation: 56-52=4 Exploring Operation: 52+6=58, Resulting Numbers: [56, 58] Generated Node #0,2,2: 45:[56, 58] Operation: 52+6=58 Exploring Operation: 52-6=46, Resulting Numbers: [56, 46] Generated Node #0,2,3: 45:[56, 46] Operation: 52-6=46 Exploring Operation: 56+6=62, Resulting Numbers: [52, 62] Generated Node #0,2,4: 45:[52, 62] Operation: 56+6=62 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[6, 4], Operations: ['60/10=6', '56-52=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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,2,0 Current State: 45:[52, 50], Operations: ['60/10=6', '56-6=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,45 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,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,2,3 Current State: 45:[56, 46], Operations: ['60/10=6', '52-6=46'] Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,45 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,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,2,2 Current State: 45:[56, 58], Operations: ['60/10=6', '52+6=58'] Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 56*58=3248, Resulting Numbers: [3248] 3248,45 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,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,2,4 Current State: 45:[52, 62], Operations: ['60/10=6', '56+6=62'] Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,45 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,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:[52, 60, 46], Operations: ['56-10=46'] Exploring Operation: 60-52=8, Resulting Numbers: [46, 8] Generated Node #0,0,0: 45:[46, 8] Operation: 60-52=8 Exploring Operation: 52+60=112, Resulting Numbers: [46, 112] Generated Node #0,0,1: 45:[46, 112] Operation: 52+60=112 Exploring Operation: 52+46=98, Resulting Numbers: [60, 98] Generated Node #0,0,2: 45:[60, 98] Operation: 52+46=98 Exploring Operation: 52-46=6, Resulting Numbers: [60, 6] Generated Node #0,0,3: 45:[60, 6] Operation: 52-46=6 Exploring Operation: 60-46=14, Resulting Numbers: [52, 14] Generated Node #0,0,4: 45:[52, 14] Operation: 60-46=14 Moving to Node #0,3,1 Current State: 45:[10, 15], Operations: ['56-52=4', '60/4=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[46, 8], Operations: ['56-10=46', '60-52=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,45 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[4, 6], Operations: ['56-52=4', '60/10=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[4, 50], Operations: ['56-52=4', '60-10=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,45 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[52, 14], Operations: ['56-10=46', '60-46=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,45 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[10, 56], Operations: ['56-52=4', '60-4=56'] Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[60, 14], Operations: ['56-52=4', '10+4=14'] Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,45 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[60, 6], Operations: ['56-10=46', '52-46=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,45 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[46, 112], Operations: ['56-10=46', '52+60=112'] Exploring Operation: 112-46=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 46*112=5152, Resulting Numbers: [5152] 5152,45 unequal: No Solution Exploring Operation: 46+112=158, Resulting Numbers: [158] 158,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[60, 98], Operations: ['56-10=46', '52+46=98'] Exploring Operation: 60+98=158, Resulting Numbers: [158] 158,45 unequal: No Solution Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 60*98=5880, Resulting Numbers: [5880] 5880,45 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 73, 13, 4, 55 ]
95
[ "55-13=42", "4*42=168", "168-73=95" ]
Current State: 95:[73, 13, 4, 55], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [73, 4, 42] Generated Node #2: [73, 4, 42] from Operation: 55-13=42 Current State: 95:[73, 4, 42], Operations: ['55-13=42'] Exploring Operation: 4*42=168, Resulting Numbers: [73, 168] Generated Node #3: [73, 168] from Operation: 4*42=168 Current State: 95:[73, 168], Operations: ['55-13=42', '4*42=168'] Exploring Operation: 168-73=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[73, 13, 4, 55], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [13, 4, 18] Generated Node #0,0: 95:[13, 4, 18] Operation: 73-55=18 Exploring Operation: 73+55=128, Resulting Numbers: [13, 4, 128] Generated Node #0,1: 95:[13, 4, 128] Operation: 73+55=128 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[13, 4, 18], Operations: ['73-55=18'] Exploring Operation: 13+4=17, Resulting Numbers: [18, 17] Generated Node #0,0,0: 95:[18, 17] Operation: 13+4=17 Exploring Operation: 18-13=5, Resulting Numbers: [4, 5] Generated Node #0,0,1: 95:[4, 5] Operation: 18-13=5 Moving to Node #0,0,1 Current State: 95:[4, 5], Operations: ['73-55=18', '18-13=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[18, 17], Operations: ['73-55=18', '13+4=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[13, 4, 128], Operations: ['73+55=128'] Exploring Operation: 128-13=115, Resulting Numbers: [4, 115] Generated Node #0,1,0: 95:[4, 115] Operation: 128-13=115 Exploring Operation: 128/4=32, Resulting Numbers: [13, 32] Generated Node #0,1,1: 95:[13, 32] Operation: 128/4=32 Moving to Node #0,1,1 Current State: 95:[13, 32], Operations: ['73+55=128', '128/4=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[4, 115], Operations: ['73+55=128', '128-13=115'] Exploring Operation: 4+115=119, Resulting Numbers: [119] 119,95 unequal: No Solution Exploring Operation: 115-4=111, Resulting Numbers: [111] 111,95 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
[ 14, 46, 28, 21 ]
67
[ "14+46=60", "28-21=7", "60+7=67" ]
Current State: 67:[14, 46, 28, 21], Operations: [] Exploring Operation: 14+46=60, Resulting Numbers: [28, 21, 60] Generated Node #2: [28, 21, 60] from Operation: 14+46=60 Current State: 67:[28, 21, 60], Operations: ['14+46=60'] Exploring Operation: 28-21=7, Resulting Numbers: [60, 7] Generated Node #3: [60, 7] from Operation: 28-21=7 Current State: 67:[60, 7], Operations: ['14+46=60', '28-21=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[14, 46, 28, 21], Operations: [] Exploring Operation: 14+28=42, Resulting Numbers: [46, 21, 42] Generated Node #0,0: 67:[46, 21, 42] Operation: 14+28=42 Exploring Operation: 14+21=35, Resulting Numbers: [46, 28, 35] Generated Node #0,1: 67:[46, 28, 35] Operation: 14+21=35 Exploring Operation: 14+46=60, Resulting Numbers: [28, 21, 60] Generated Node #0,2: 67:[28, 21, 60] Operation: 14+46=60 Exploring Operation: 28+21=49, Resulting Numbers: [14, 46, 49] Generated Node #0,3: 67:[14, 46, 49] Operation: 28+21=49 Exploring Operation: 46+21=67, Resulting Numbers: [14, 28, 67] Generated Node #0,4: 67:[14, 28, 67] Operation: 46+21=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[46, 21, 42], Operations: ['14+28=42'] Exploring Operation: 46+21=67, Resulting Numbers: [42, 67] Generated Node #0,0,0: 67:[42, 67] Operation: 46+21=67 Exploring Operation: 46-21=25, Resulting Numbers: [42, 25] Generated Node #0,0,1: 67:[42, 25] Operation: 46-21=25 Exploring Operation: 42-21=21, Resulting Numbers: [46, 21] Generated Node #0,0,2: 67:[46, 21] Operation: 42-21=21 Exploring Operation: 21+42=63, Resulting Numbers: [46, 63] Generated Node #0,0,3: 67:[46, 63] Operation: 21+42=63 Exploring Operation: 46+42=88, Resulting Numbers: [21, 88] Generated Node #0,0,4: 67:[21, 88] Operation: 46+42=88 Moving to Node #0,0,0 Current State: 67:[42, 67], Operations: ['14+28=42', '46+21=67'] Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[46, 63], Operations: ['14+28=42', '21+42=63'] Exploring Operation: 46*63=2898, Resulting Numbers: [2898] 2898,67 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[42, 25], Operations: ['14+28=42', '46-21=25'] Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[14, 46, 28, 21], Operations: [] Exploring Operation: 14+28=42, Resulting Numbers: [46, 21, 42] Generated Node #0,0: 67:[46, 21, 42] Operation: 14+28=42 Moving to Node #0,0 Current State: 67:[46, 21, 42], Operations: ['14+28=42'] Exploring Operation: 46-21=25, Resulting Numbers: [42, 25] Generated Node #0,0,1: 67:[42, 25] Operation: 46-21=25 Moving to Node #0,0,1 Current State: 67:[42, 25], Operations: ['14+28=42', '46-21=25'] Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 34, 18, 15, 14 ]
51
[ "34+18=52", "15-14=1", "52-1=51" ]
Current State: 51:[34, 18, 15, 14], Operations: [] Exploring Operation: 34+18=52, Resulting Numbers: [15, 14, 52] Generated Node #2: [15, 14, 52] from Operation: 34+18=52 Current State: 51:[15, 14, 52], Operations: ['34+18=52'] Exploring Operation: 15-14=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 15-14=1 Current State: 51:[52, 1], Operations: ['34+18=52', '15-14=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[34, 18, 15, 14], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [18, 14, 19] Generated Node #0,0: 51:[18, 14, 19] Operation: 34-15=19 Exploring Operation: 34+14=48, Resulting Numbers: [18, 15, 48] Generated Node #0,1: 51:[18, 15, 48] Operation: 34+14=48 Exploring Operation: 34-18=16, Resulting Numbers: [15, 14, 16] Generated Node #0,2: 51:[15, 14, 16] Operation: 34-18=16 Exploring Operation: 34+18=52, Resulting Numbers: [15, 14, 52] Generated Node #0,3: 51:[15, 14, 52] Operation: 34+18=52 Exploring Operation: 34+15=49, Resulting Numbers: [18, 14, 49] Generated Node #0,4: 51:[18, 14, 49] Operation: 34+15=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[18, 14, 19], Operations: ['34-15=19'] Exploring Operation: 19-14=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 51:[18, 5] Operation: 19-14=5 Exploring Operation: 18-14=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 51:[19, 4] Operation: 18-14=4 Exploring Operation: 19-18=1, Resulting Numbers: [14, 1] Generated Node #0,0,2: 51:[14, 1] Operation: 19-18=1 Exploring Operation: 18+14=32, Resulting Numbers: [19, 32] Generated Node #0,0,3: 51:[19, 32] Operation: 18+14=32 Exploring Operation: 18+19=37, Resulting Numbers: [14, 37] Generated Node #0,0,4: 51:[14, 37] Operation: 18+19=37 Moving to Node #0,0,0 Current State: 51:[18, 5], Operations: ['34-15=19', '19-14=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[19, 4], Operations: ['34-15=19', '18-14=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[14, 1], Operations: ['34-15=19', '19-18=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[19, 32], Operations: ['34-15=19', '18+14=32'] Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,51 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[34, 18, 15, 14], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [18, 14, 19] Generated Node #0,0: 51:[18, 14, 19] Operation: 34-15=19 Moving to Node #0,0 Current State: 51:[18, 14, 19], Operations: ['34-15=19'] Exploring Operation: 18+14=32, Resulting Numbers: [19, 32] Generated Node #0,0,3: 51:[19, 32] Operation: 18+14=32 Moving to Node #0,0,3 Current State: 51:[19, 32], Operations: ['34-15=19', '18+14=32'] Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 22, 77, 87, 85 ]
73
[ "22+77=99", "87+85=172", "172-99=73" ]
Current State: 73:[22, 77, 87, 85], Operations: [] Exploring Operation: 22+77=99, Resulting Numbers: [87, 85, 99] Generated Node #2: [87, 85, 99] from Operation: 22+77=99 Current State: 73:[87, 85, 99], Operations: ['22+77=99'] Exploring Operation: 87+85=172, Resulting Numbers: [99, 172] Generated Node #3: [99, 172] from Operation: 87+85=172 Current State: 73:[99, 172], Operations: ['22+77=99', '87+85=172'] Exploring Operation: 172-99=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[22, 77, 87, 85], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [87, 85, 55] Generated Node #0,0: 73:[87, 85, 55] Operation: 77-22=55 Exploring Operation: 87-22=65, Resulting Numbers: [77, 85, 65] Generated Node #0,1: 73:[77, 85, 65] Operation: 87-22=65 Exploring Operation: 85-22=63, Resulting Numbers: [77, 87, 63] Generated Node #0,2: 73:[77, 87, 63] Operation: 85-22=63 Exploring Operation: 22+77=99, Resulting Numbers: [87, 85, 99] Generated Node #0,3: 73:[87, 85, 99] Operation: 22+77=99 Exploring Operation: 22+87=109, Resulting Numbers: [77, 85, 109] Generated Node #0,4: 73:[77, 85, 109] Operation: 22+87=109 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[77, 85, 65], Operations: ['87-22=65'] Exploring Operation: 85+65=150, Resulting Numbers: [77, 150] Generated Node #0,1,0: 73:[77, 150] Operation: 85+65=150 Exploring Operation: 85-77=8, Resulting Numbers: [65, 8] Generated Node #0,1,1: 73:[65, 8] Operation: 85-77=8 Exploring Operation: 85-65=20, Resulting Numbers: [77, 20] Generated Node #0,1,2: 73:[77, 20] Operation: 85-65=20 Exploring Operation: 77+65=142, Resulting Numbers: [85, 142] Generated Node #0,1,3: 73:[85, 142] Operation: 77+65=142 Exploring Operation: 77-65=12, Resulting Numbers: [85, 12] Generated Node #0,1,4: 73:[85, 12] Operation: 77-65=12 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[77, 20], Operations: ['87-22=65', '85-65=20'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,73 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[65, 8], Operations: ['87-22=65', '85-77=8'] Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,73 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[22, 77, 87, 85], Operations: [] Exploring Operation: 87-22=65, Resulting Numbers: [77, 85, 65] Generated Node #0,1: 73:[77, 85, 65] Operation: 87-22=65 Moving to Node #0,1 Current State: 73:[77, 85, 65], Operations: ['87-22=65'] Exploring Operation: 85-77=8, Resulting Numbers: [65, 8] Generated Node #0,1,1: 73:[65, 8] Operation: 85-77=8 Moving to Node #0,1,1 Current State: 73:[65, 8], Operations: ['87-22=65', '85-77=8'] Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 49, 43, 3, 25 ]
35
[ "49-25=24", "24/3=8", "43-8=35" ]
Current State: 35:[49, 43, 3, 25], Operations: [] Exploring Operation: 49-25=24, Resulting Numbers: [43, 3, 24] Generated Node #2: [43, 3, 24] from Operation: 49-25=24 Current State: 35:[43, 3, 24], Operations: ['49-25=24'] Exploring Operation: 24/3=8, Resulting Numbers: [43, 8] Generated Node #3: [43, 8] from Operation: 24/3=8 Current State: 35:[43, 8], Operations: ['49-25=24', '24/3=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[49, 43, 3, 25], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [3, 25, 6] Generated Node #0,0: 35:[3, 25, 6] Operation: 49-43=6 Exploring Operation: 49-25=24, Resulting Numbers: [43, 3, 24] Generated Node #0,1: 35:[43, 3, 24] Operation: 49-25=24 Exploring Operation: 43-3=40, Resulting Numbers: [49, 25, 40] Generated Node #0,2: 35:[49, 25, 40] Operation: 43-3=40 Exploring Operation: 43-25=18, Resulting Numbers: [49, 3, 18] Generated Node #0,3: 35:[49, 3, 18] Operation: 43-25=18 Exploring Operation: 49-3=46, Resulting Numbers: [43, 25, 46] Generated Node #0,4: 35:[43, 25, 46] Operation: 49-3=46 Moving to Node #0,0 Current State: 35:[3, 25, 6], Operations: ['49-43=6'] Exploring Operation: 3+25=28, Resulting Numbers: [6, 28] Generated Node #0,0,0: 35:[6, 28] Operation: 3+25=28 Exploring Operation: 6/3=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 35:[25, 2] Operation: 6/3=2 Exploring Operation: 3+6=9, Resulting Numbers: [25, 9] Generated Node #0,0,2: 35:[25, 9] Operation: 3+6=9 Exploring Operation: 6-3=3, Resulting Numbers: [25, 3] Generated Node #0,0,3: 35:[25, 3] Operation: 6-3=3 Exploring Operation: 25+6=31, Resulting Numbers: [3, 31] Generated Node #0,0,4: 35:[3, 31] Operation: 25+6=31 Moving to Node #0,1 Current State: 35:[43, 3, 24], Operations: ['49-25=24'] Exploring Operation: 24/3=8, Resulting Numbers: [43, 8] Generated Node #0,1,0: 35:[43, 8] Operation: 24/3=8 Exploring Operation: 43-24=19, Resulting Numbers: [3, 19] Generated Node #0,1,1: 35:[3, 19] Operation: 43-24=19 Exploring Operation: 43+3=46, Resulting Numbers: [24, 46] Generated Node #0,1,2: 35:[24, 46] Operation: 43+3=46 Exploring Operation: 3+24=27, Resulting Numbers: [43, 27] Generated Node #0,1,3: 35:[43, 27] Operation: 3+24=27 Exploring Operation: 43-3=40, Resulting Numbers: [24, 40] Generated Node #0,1,4: 35:[24, 40] Operation: 43-3=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[43, 8], Operations: ['49-25=24', '24/3=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,35 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[49, 43, 3, 25], Operations: [] Exploring Operation: 49-25=24, Resulting Numbers: [43, 3, 24] Generated Node #0,1: 35:[43, 3, 24] Operation: 49-25=24 Moving to Node #0,1 Current State: 35:[43, 3, 24], Operations: ['49-25=24'] Exploring Operation: 24/3=8, Resulting Numbers: [43, 8] Generated Node #0,1,0: 35:[43, 8] Operation: 24/3=8 Moving to Node #0,1,0 Current State: 35:[43, 8], Operations: ['49-25=24', '24/3=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 32, 28, 98, 37 ]
50
[ "32-28=4", "37*4=148", "148-98=50" ]
Current State: 50:[32, 28, 98, 37], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [98, 37, 4] Generated Node #2: [98, 37, 4] from Operation: 32-28=4 Current State: 50:[98, 37, 4], Operations: ['32-28=4'] Exploring Operation: 37*4=148, Resulting Numbers: [98, 148] Generated Node #3: [98, 148] from Operation: 37*4=148 Current State: 50:[98, 148], Operations: ['32-28=4', '37*4=148'] Exploring Operation: 148-98=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[32, 28, 98, 37], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [32, 28, 61] Generated Node #0,0: 50:[32, 28, 61] Operation: 98-37=61 Exploring Operation: 98-28=70, Resulting Numbers: [32, 37, 70] Generated Node #0,1: 50:[32, 37, 70] Operation: 98-28=70 Exploring Operation: 98-32=66, Resulting Numbers: [28, 37, 66] Generated Node #0,2: 50:[28, 37, 66] Operation: 98-32=66 Moving to Node #0,0 Current State: 50:[32, 28, 61], Operations: ['98-37=61'] Exploring Operation: 32-28=4, Resulting Numbers: [61, 4] Generated Node #0,0,0: 50:[61, 4] Operation: 32-28=4 Exploring Operation: 61-28=33, Resulting Numbers: [32, 33] Generated Node #0,0,1: 50:[32, 33] Operation: 61-28=33 Exploring Operation: 61-32=29, Resulting Numbers: [28, 29] Generated Node #0,0,2: 50:[28, 29] Operation: 61-32=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[28, 29], Operations: ['98-37=61', '61-32=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[61, 4], Operations: ['98-37=61', '32-28=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,50 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[32, 33], Operations: ['98-37=61', '61-28=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,50 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,50 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: 50:[28, 37, 66], Operations: ['98-32=66'] Exploring Operation: 37-28=9, Resulting Numbers: [66, 9] Generated Node #0,2,0: 50:[66, 9] Operation: 37-28=9 Exploring Operation: 66-28=38, Resulting Numbers: [37, 38] Generated Node #0,2,1: 50:[37, 38] Operation: 66-28=38 Exploring Operation: 66-37=29, Resulting Numbers: [28, 29] Generated Node #0,2,2: 50:[28, 29] Operation: 66-37=29 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[28, 29], Operations: ['98-32=66', '66-37=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,50 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[66, 9], Operations: ['98-32=66', '37-28=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,50 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[37, 38], Operations: ['98-32=66', '66-28=38'] Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,50 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,50 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: 50:[32, 37, 70], Operations: ['98-28=70'] Exploring Operation: 37-32=5, Resulting Numbers: [70, 5] Generated Node #0,1,0: 50:[70, 5] Operation: 37-32=5 Exploring Operation: 70-32=38, Resulting Numbers: [37, 38] Generated Node #0,1,1: 50:[37, 38] Operation: 70-32=38 Exploring Operation: 70-37=33, Resulting Numbers: [32, 33] Generated Node #0,1,2: 50:[32, 33] Operation: 70-37=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[32, 33], Operations: ['98-28=70', '70-37=33'] Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[70, 5], Operations: ['98-28=70', '37-32=5'] Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,50 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[37, 38], Operations: ['98-28=70', '70-32=38'] Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,50 unequal: No Solution Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 27, 27, 81, 19 ]
49
[ "81/27=3", "27+19=46", "3+46=49" ]
Current State: 49:[27, 27, 81, 19], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [19, 3] Generated Node #2: [19, 3] from Operation: 81/27=3 Current State: 49:[19, 3], Operations: ['81/27=3'] Exploring Operation: 27+19=46, Resulting Numbers: [3, 46] Generated Node #3: [3, 46] from Operation: 27+19=46 Current State: 49:[3, 46], Operations: ['81/27=3', '27+19=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[27, 27, 81, 19], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [27, 19, 54] Generated Node #0,0: 49:[27, 19, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [27, 19, 3] Generated Node #0,1: 49:[27, 19, 3] Operation: 81/27=3 Exploring Operation: 81/27=3, Resulting Numbers: [27, 19, 3] Generated Node #0,2: 49:[27, 19, 3] Operation: 81/27=3 Exploring Operation: 81-27=54, Resulting Numbers: [27, 19, 54] Generated Node #0,3: 49:[27, 19, 54] Operation: 81-27=54 Moving to Node #0,1 Current State: 49:[27, 19, 3], Operations: ['81/27=3'] Exploring Operation: 27/3=9, Resulting Numbers: [19, 9] Generated Node #0,1,0: 49:[19, 9] Operation: 27/3=9 Exploring Operation: 27-19=8, Resulting Numbers: [3, 8] Generated Node #0,1,1: 49:[3, 8] Operation: 27-19=8 Exploring Operation: 19*3=57, Resulting Numbers: [27, 57] Generated Node #0,1,2: 49:[27, 57] Operation: 19*3=57 Exploring Operation: 27+19=46, Resulting Numbers: [3, 46] Generated Node #0,1,3: 49:[3, 46] Operation: 27+19=46 Moving to Node #0,2 Current State: 49:[27, 19, 3], Operations: ['81/27=3'] Exploring Operation: 27+19=46, Resulting Numbers: [3, 46] Generated Node #0,2,0: 49:[3, 46] Operation: 27+19=46 Exploring Operation: 27/3=9, Resulting Numbers: [19, 9] Generated Node #0,2,1: 49:[19, 9] Operation: 27/3=9 Exploring Operation: 27-19=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 49:[3, 8] Operation: 27-19=8 Exploring Operation: 19*3=57, Resulting Numbers: [27, 57] Generated Node #0,2,3: 49:[27, 57] Operation: 19*3=57 Moving to Node #0,3 Current State: 49:[27, 19, 54], Operations: ['81-27=54'] Exploring Operation: 54/27=2, Resulting Numbers: [19, 2] Generated Node #0,3,0: 49:[19, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [19, 27] Generated Node #0,3,1: 49:[19, 27] Operation: 54-27=27 Exploring Operation: 27-19=8, Resulting Numbers: [54, 8] Generated Node #0,3,2: 49:[54, 8] Operation: 27-19=8 Exploring Operation: 27+19=46, Resulting Numbers: [54, 46] Generated Node #0,3,3: 49:[54, 46] Operation: 27+19=46 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[54, 8], Operations: ['81-27=54', '27-19=8'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,49 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,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,3,3 Current State: 49:[54, 46], Operations: ['81-27=54', '27+19=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,49 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,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,3,0 Current State: 49:[19, 2], Operations: ['81-27=54', '54/27=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,49 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,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,3,1 Current State: 49:[19, 27], Operations: ['81-27=54', '54-27=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,49 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,49 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: 49:[27, 19, 54], Operations: ['81-27=54'] Exploring Operation: 54/27=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 49:[19, 2] Operation: 54/27=2 Exploring Operation: 27+19=46, Resulting Numbers: [54, 46] Generated Node #0,0,1: 49:[54, 46] Operation: 27+19=46 Exploring Operation: 54-27=27, Resulting Numbers: [19, 27] Generated Node #0,0,2: 49:[19, 27] Operation: 54-27=27 Exploring Operation: 27-19=8, Resulting Numbers: [54, 8] Generated Node #0,0,3: 49:[54, 8] Operation: 27-19=8 Moving to Node #0,1,1 Current State: 49:[3, 8], Operations: ['81/27=3', '27-19=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[3, 8], Operations: ['81/27=3', '27-19=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[54, 8], Operations: ['81-27=54', '27-19=8'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,49 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[3, 46], Operations: ['81/27=3', '27+19=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[27, 27, 81, 19], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [27, 19, 3] Generated Node #0,2: 49:[27, 19, 3] Operation: 81/27=3 Moving to Node #0,2 Current State: 49:[27, 19, 3], Operations: ['81/27=3'] Exploring Operation: 27+19=46, Resulting Numbers: [3, 46] Generated Node #0,2,0: 49:[3, 46] Operation: 27+19=46 Moving to Node #0,2,0 Current State: 49:[3, 46], Operations: ['81/27=3', '27+19=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.960069
hs_4
sum_heuristic
[ 24, 41, 65, 87 ]
88
[ "24+41=65", "65/65=1", "87+1=88" ]
Current State: 88:[24, 41, 65, 87], Operations: [] Exploring Operation: 24+41=65, Resulting Numbers: [65, 87, 65] Generated Node #2: [65, 87, 65] from Operation: 24+41=65 Current State: 88:[65, 87, 65], Operations: ['24+41=65'] Exploring Operation: 65/65=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 65/65=1 Current State: 88:[87, 1], Operations: ['24+41=65', '65/65=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[24, 41, 65, 87], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [24, 41, 22] Generated Node #0,0: 88:[24, 41, 22] Operation: 87-65=22 Exploring Operation: 65-41=24, Resulting Numbers: [24, 87, 24] Generated Node #0,1: 88:[24, 87, 24] Operation: 65-41=24 Exploring Operation: 65-24=41, Resulting Numbers: [41, 87, 41] Generated Node #0,2: 88:[41, 87, 41] Operation: 65-24=41 Exploring Operation: 24+65=89, Resulting Numbers: [41, 87, 89] Generated Node #0,3: 88:[41, 87, 89] Operation: 24+65=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[24, 41, 22], Operations: ['87-65=22'] Exploring Operation: 41-22=19, Resulting Numbers: [24, 19] Generated Node #0,0,0: 88:[24, 19] Operation: 41-22=19 Exploring Operation: 24+22=46, Resulting Numbers: [41, 46] Generated Node #0,0,1: 88:[41, 46] Operation: 24+22=46 Exploring Operation: 24-22=2, Resulting Numbers: [41, 2] Generated Node #0,0,2: 88:[41, 2] Operation: 24-22=2 Exploring Operation: 41-24=17, Resulting Numbers: [22, 17] Generated Node #0,0,3: 88:[22, 17] Operation: 41-24=17 Moving to Node #0,0,2 Current State: 88:[41, 2], Operations: ['87-65=22', '24-22=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[41, 46], Operations: ['87-65=22', '24+22=46'] Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 41*46=1886, Resulting Numbers: [1886] 1886,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[24, 19], Operations: ['87-65=22', '41-22=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[22, 17], Operations: ['87-65=22', '41-24=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,88 unequal: No Solution No 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: 88:[24, 87, 24], Operations: ['65-41=24'] Exploring Operation: 24/24=1, Resulting Numbers: [87, 1] Generated Node #0,1,0: 88:[87, 1] Operation: 24/24=1 Exploring Operation: 87-24=63, Resulting Numbers: [24, 63] Generated Node #0,1,1: 88:[24, 63] Operation: 87-24=63 Exploring Operation: 24+24=48, Resulting Numbers: [87, 48] Generated Node #0,1,2: 88:[87, 48] Operation: 24+24=48 Exploring Operation: 24-24=0, Resulting Numbers: [87, 0] Generated Node #0,1,3: 88:[87, 0] Operation: 24-24=0 Moving to Node #0,1,0 Current State: 88:[87, 1], Operations: ['65-41=24', '24/24=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[24, 41, 65, 87], Operations: [] Exploring Operation: 65-41=24, Resulting Numbers: [24, 87, 24] Generated Node #0,1: 88:[24, 87, 24] Operation: 65-41=24 Moving to Node #0,1 Current State: 88:[24, 87, 24], Operations: ['65-41=24'] Exploring Operation: 24/24=1, Resulting Numbers: [87, 1] Generated Node #0,1,0: 88:[87, 1] Operation: 24/24=1 Moving to Node #0,1,0 Current State: 88:[87, 1], Operations: ['65-41=24', '24/24=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 37, 81, 40, 7 ]
85
[ "37+81=118", "40-7=33", "118-33=85" ]
Current State: 85:[37, 81, 40, 7], Operations: [] Exploring Operation: 37+81=118, Resulting Numbers: [40, 7, 118] Generated Node #2: [40, 7, 118] from Operation: 37+81=118 Current State: 85:[40, 7, 118], Operations: ['37+81=118'] Exploring Operation: 40-7=33, Resulting Numbers: [118, 33] Generated Node #3: [118, 33] from Operation: 40-7=33 Current State: 85:[118, 33], Operations: ['37+81=118', '40-7=33'] Exploring Operation: 118-33=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[37, 81, 40, 7], Operations: [] Exploring Operation: 40-7=33, Resulting Numbers: [37, 81, 33] Generated Node #0,0: 85:[37, 81, 33] Operation: 40-7=33 Exploring Operation: 37-7=30, Resulting Numbers: [81, 40, 30] Generated Node #0,1: 85:[81, 40, 30] Operation: 37-7=30 Exploring Operation: 37+40=77, Resulting Numbers: [81, 7, 77] Generated Node #0,2: 85:[81, 7, 77] Operation: 37+40=77 Exploring Operation: 40-37=3, Resulting Numbers: [81, 7, 3] Generated Node #0,3: 85:[81, 7, 3] Operation: 40-37=3 Moving to Node #0,3 Current State: 85:[81, 7, 3], Operations: ['40-37=3'] Exploring Operation: 7-3=4, Resulting Numbers: [81, 4] Generated Node #0,3,0: 85:[81, 4] Operation: 7-3=4 Exploring Operation: 7*3=21, Resulting Numbers: [81, 21] Generated Node #0,3,1: 85:[81, 21] Operation: 7*3=21 Exploring Operation: 81+3=84, Resulting Numbers: [7, 84] Generated Node #0,3,2: 85:[7, 84] Operation: 81+3=84 Exploring Operation: 81+7=88, Resulting Numbers: [3, 88] Generated Node #0,3,3: 85:[3, 88] Operation: 81+7=88 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[7, 84], Operations: ['40-37=3', '81+3=84'] Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,85 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[81, 4], Operations: ['40-37=3', '7-3=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,85 unequal: No Solution Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[37, 81, 40, 7], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [81, 7, 3] Generated Node #0,3: 85:[81, 7, 3] Operation: 40-37=3 Moving to Node #0,3 Current State: 85:[81, 7, 3], Operations: ['40-37=3'] Exploring Operation: 7-3=4, Resulting Numbers: [81, 4] Generated Node #0,3,0: 85:[81, 4] Operation: 7-3=4 Moving to Node #0,3,0 Current State: 85:[81, 4], Operations: ['40-37=3', '7-3=4'] Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 5, 95, 15, 67 ]
47
[ "5*15=75", "95-67=28", "75-28=47" ]
Current State: 47:[5, 95, 15, 67], Operations: [] Exploring Operation: 5*15=75, Resulting Numbers: [95, 67, 75] Generated Node #2: [95, 67, 75] from Operation: 5*15=75 Current State: 47:[95, 67, 75], Operations: ['5*15=75'] Exploring Operation: 95-67=28, Resulting Numbers: [75, 28] Generated Node #3: [75, 28] from Operation: 95-67=28 Current State: 47:[75, 28], Operations: ['5*15=75', '95-67=28'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[5, 95, 15, 67], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [15, 67, 19] Generated Node #0,0: 47:[15, 67, 19] Operation: 95/5=19 Exploring Operation: 95-67=28, Resulting Numbers: [5, 15, 28] Generated Node #0,1: 47:[5, 15, 28] Operation: 95-67=28 Moving to Node #0,0 Current State: 47:[15, 67, 19], Operations: ['95/5=19'] Exploring Operation: 15+19=34, Resulting Numbers: [67, 34] Generated Node #0,0,0: 47:[67, 34] Operation: 15+19=34 Exploring Operation: 67-15=52, Resulting Numbers: [19, 52] Generated Node #0,0,1: 47:[19, 52] Operation: 67-15=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[67, 34], Operations: ['95/5=19', '15+19=34'] Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,47 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[19, 52], Operations: ['95/5=19', '67-15=52'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 47:[5, 15, 28], Operations: ['95-67=28'] Exploring Operation: 5+15=20, Resulting Numbers: [28, 20] Generated Node #0,1,0: 47:[28, 20] Operation: 5+15=20 Exploring Operation: 5+28=33, Resulting Numbers: [15, 33] Generated Node #0,1,1: 47:[15, 33] Operation: 5+28=33 Moving to Node #0,1,0 Current State: 47:[28, 20], Operations: ['95-67=28', '5+15=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[15, 33], Operations: ['95-67=28', '5+28=33'] Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,47 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 76, 37, 11, 4 ]
64
[ "37+11=48", "48/4=12", "76-12=64" ]
Current State: 64:[76, 37, 11, 4], Operations: [] Exploring Operation: 37+11=48, Resulting Numbers: [76, 4, 48] Generated Node #2: [76, 4, 48] from Operation: 37+11=48 Current State: 64:[76, 4, 48], Operations: ['37+11=48'] Exploring Operation: 48/4=12, Resulting Numbers: [76, 12] Generated Node #3: [76, 12] from Operation: 48/4=12 Current State: 64:[76, 12], Operations: ['37+11=48', '48/4=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[76, 37, 11, 4], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [37, 4, 65] Generated Node #0,0: 64:[37, 4, 65] Operation: 76-11=65 Exploring Operation: 76-37=39, Resulting Numbers: [11, 4, 39] Generated Node #0,1: 64:[11, 4, 39] Operation: 76-37=39 Moving to Node #0,0 Current State: 64:[37, 4, 65], Operations: ['76-11=65'] Exploring Operation: 65-37=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 64:[4, 28] Operation: 65-37=28 Exploring Operation: 37-4=33, Resulting Numbers: [65, 33] Generated Node #0,0,1: 64:[65, 33] Operation: 37-4=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[65, 33], Operations: ['76-11=65', '37-4=33'] Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[4, 28], Operations: ['76-11=65', '65-37=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,64 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: 64:[11, 4, 39], Operations: ['76-37=39'] Exploring Operation: 39-11=28, Resulting Numbers: [4, 28] Generated Node #0,1,0: 64:[4, 28] Operation: 39-11=28 Exploring Operation: 39-4=35, Resulting Numbers: [11, 35] Generated Node #0,1,1: 64:[11, 35] Operation: 39-4=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[4, 28], Operations: ['76-37=39', '39-11=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[11, 35], Operations: ['76-37=39', '39-4=35'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,64 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
[ 76, 75, 17, 88 ]
72
[ "76-75=1", "88-17=71", "1+71=72" ]
Current State: 72:[76, 75, 17, 88], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [17, 88, 1] Generated Node #2: [17, 88, 1] from Operation: 76-75=1 Current State: 72:[17, 88, 1], Operations: ['76-75=1'] Exploring Operation: 88-17=71, Resulting Numbers: [1, 71] Generated Node #3: [1, 71] from Operation: 88-17=71 Current State: 72:[1, 71], Operations: ['76-75=1', '88-17=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[76, 75, 17, 88], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [75, 17, 12] Generated Node #0,0: 72:[75, 17, 12] Operation: 88-76=12 Exploring Operation: 88-75=13, Resulting Numbers: [76, 17, 13] Generated Node #0,1: 72:[76, 17, 13] Operation: 88-75=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[75, 17, 12], Operations: ['88-76=12'] Exploring Operation: 17+12=29, Resulting Numbers: [75, 29] Generated Node #0,0,0: 72:[75, 29] Operation: 17+12=29 Exploring Operation: 17-12=5, Resulting Numbers: [75, 5] Generated Node #0,0,1: 72:[75, 5] Operation: 17-12=5 Moving to Node #0,0,1 Current State: 72:[75, 5], Operations: ['88-76=12', '17-12=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[75, 29], Operations: ['88-76=12', '17+12=29'] Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[76, 17, 13], Operations: ['88-75=13'] Exploring Operation: 17-13=4, Resulting Numbers: [76, 4] Generated Node #0,1,0: 72:[76, 4] Operation: 17-13=4 Exploring Operation: 76-13=63, Resulting Numbers: [17, 63] Generated Node #0,1,1: 72:[17, 63] Operation: 76-13=63 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[76, 4], Operations: ['88-75=13', '17-13=4'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[76, 75, 17, 88], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [76, 17, 13] Generated Node #0,1: 72:[76, 17, 13] Operation: 88-75=13 Moving to Node #0,1 Current State: 72:[76, 17, 13], Operations: ['88-75=13'] Exploring Operation: 17-13=4, Resulting Numbers: [76, 4] Generated Node #0,1,0: 72:[76, 4] Operation: 17-13=4 Moving to Node #0,1,0 Current State: 72:[76, 4], Operations: ['88-75=13', '17-13=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 66, 37, 99, 6 ]
76
[ "66-37=29", "99+6=105", "105-29=76" ]
Current State: 76:[66, 37, 99, 6], Operations: [] Exploring Operation: 66-37=29, Resulting Numbers: [99, 6, 29] Generated Node #2: [99, 6, 29] from Operation: 66-37=29 Current State: 76:[99, 6, 29], Operations: ['66-37=29'] Exploring Operation: 99+6=105, Resulting Numbers: [29, 105] Generated Node #3: [29, 105] from Operation: 99+6=105 Current State: 76:[29, 105], Operations: ['66-37=29', '99+6=105'] Exploring Operation: 105-29=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[66, 37, 99, 6], Operations: [] Exploring Operation: 99-37=62, Resulting Numbers: [66, 6, 62] Generated Node #0,0: 76:[66, 6, 62] Operation: 99-37=62 Exploring Operation: 99-66=33, Resulting Numbers: [37, 6, 33] Generated Node #0,1: 76:[37, 6, 33] Operation: 99-66=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[37, 6, 33], Operations: ['99-66=33'] Exploring Operation: 6+33=39, Resulting Numbers: [37, 39] Generated Node #0,1,0: 76:[37, 39] Operation: 6+33=39 Exploring Operation: 37-33=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 76:[6, 4] Operation: 37-33=4 Moving to Node #0,1,0 Current State: 76:[37, 39], Operations: ['99-66=33', '6+33=39'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[66, 37, 99, 6], Operations: [] Exploring Operation: 99-66=33, Resulting Numbers: [37, 6, 33] Generated Node #0,1: 76:[37, 6, 33] Operation: 99-66=33 Moving to Node #0,1 Current State: 76:[37, 6, 33], Operations: ['99-66=33'] Exploring Operation: 6+33=39, Resulting Numbers: [37, 39] Generated Node #0,1,0: 76:[37, 39] Operation: 6+33=39 Moving to Node #0,1,0 Current State: 76:[37, 39], Operations: ['99-66=33', '6+33=39'] Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 97, 1, 33, 16 ]
99
[ "33-1=32", "32/16=2", "97+2=99" ]
Current State: 99:[97, 1, 33, 16], Operations: [] Exploring Operation: 33-1=32, Resulting Numbers: [97, 16, 32] Generated Node #2: [97, 16, 32] from Operation: 33-1=32 Current State: 99:[97, 16, 32], Operations: ['33-1=32'] Exploring Operation: 32/16=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 32/16=2 Current State: 99:[97, 2], Operations: ['33-1=32', '32/16=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[97, 1, 33, 16], Operations: [] Exploring Operation: 97+1=98, Resulting Numbers: [33, 16, 98] Generated Node #0,0: 99:[33, 16, 98] Operation: 97+1=98 Moving to Node #0,0 Current State: 99:[33, 16, 98], Operations: ['97+1=98'] Exploring Operation: 33-16=17, Resulting Numbers: [98, 17] Generated Node #0,0,0: 99:[98, 17] Operation: 33-16=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[98, 17], Operations: ['97+1=98', '33-16=17'] Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,99 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
[ 74, 30, 74, 85 ]
30
[ "74-74=0", "85*0=0", "30+0=30" ]
Current State: 30:[74, 30, 74, 85], Operations: [] Exploring Operation: 74-74=0, Resulting Numbers: [30, 85, 0] Generated Node #2: [30, 85, 0] from Operation: 74-74=0 Current State: 30:[30, 85, 0], Operations: ['74-74=0'] Exploring Operation: 85*0=0, Resulting Numbers: [30, 0] Generated Node #3: [30, 0] from Operation: 85*0=0 Current State: 30:[30, 0], Operations: ['74-74=0', '85*0=0'] Exploring Operation: 30+0=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[74, 30, 74, 85], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [30, 74, 11] Generated Node #0,0: 30:[30, 74, 11] Operation: 85-74=11 Moving to Node #0,0 Current State: 30:[30, 74, 11], Operations: ['85-74=11'] Exploring Operation: 74-30=44, Resulting Numbers: [11, 44] Generated Node #0,0,0: 30:[11, 44] Operation: 74-30=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[11, 44], Operations: ['85-74=11', '74-30=44'] Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,30 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
[ 64, 27, 96, 9 ]
50
[ "64-27=37", "96-9=87", "87-37=50" ]
Current State: 50:[64, 27, 96, 9], Operations: [] Exploring Operation: 64-27=37, Resulting Numbers: [96, 9, 37] Generated Node #2: [96, 9, 37] from Operation: 64-27=37 Current State: 50:[96, 9, 37], Operations: ['64-27=37'] Exploring Operation: 96-9=87, Resulting Numbers: [37, 87] Generated Node #3: [37, 87] from Operation: 96-9=87 Current State: 50:[37, 87], Operations: ['64-27=37', '96-9=87'] Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[64, 27, 96, 9], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [27, 9, 32] Generated Node #0,0: 50:[27, 9, 32] Operation: 96-64=32 Exploring Operation: 64-9=55, Resulting Numbers: [27, 96, 55] Generated Node #0,1: 50:[27, 96, 55] Operation: 64-9=55 Exploring Operation: 96-27=69, Resulting Numbers: [64, 9, 69] Generated Node #0,2: 50:[64, 9, 69] Operation: 96-27=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[27, 9, 32], Operations: ['96-64=32'] Exploring Operation: 27/9=3, Resulting Numbers: [32, 3] Generated Node #0,0,0: 50:[32, 3] Operation: 27/9=3 Exploring Operation: 32-27=5, Resulting Numbers: [9, 5] Generated Node #0,0,1: 50:[9, 5] Operation: 32-27=5 Exploring Operation: 32-9=23, Resulting Numbers: [27, 23] Generated Node #0,0,2: 50:[27, 23] Operation: 32-9=23 Moving to Node #0,0,1 Current State: 50:[9, 5], Operations: ['96-64=32', '32-27=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[27, 23], Operations: ['96-64=32', '32-9=23'] Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,50 unequal: No Solution Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[64, 27, 96, 9], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [27, 9, 32] Generated Node #0,0: 50:[27, 9, 32] Operation: 96-64=32 Moving to Node #0,0 Current State: 50:[27, 9, 32], Operations: ['96-64=32'] Exploring Operation: 32-9=23, Resulting Numbers: [27, 23] Generated Node #0,0,2: 50:[27, 23] Operation: 32-9=23 Moving to Node #0,0,2 Current State: 50:[27, 23], Operations: ['96-64=32', '32-9=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 21, 80, 30, 63 ]
70
[ "21*30=630", "630/63=10", "80-10=70" ]
Current State: 70:[21, 80, 30, 63], Operations: [] Exploring Operation: 21*30=630, Resulting Numbers: [80, 63, 630] Generated Node #2: [80, 63, 630] from Operation: 21*30=630 Current State: 70:[80, 63, 630], Operations: ['21*30=630'] Exploring Operation: 630/63=10, Resulting Numbers: [80, 10] Generated Node #3: [80, 10] from Operation: 630/63=10 Current State: 70:[80, 10], Operations: ['21*30=630', '630/63=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[21, 80, 30, 63], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [21, 30, 17] Generated Node #0,0: 70:[21, 30, 17] Operation: 80-63=17 Exploring Operation: 63/21=3, Resulting Numbers: [80, 30, 3] Generated Node #0,1: 70:[80, 30, 3] Operation: 63/21=3 Exploring Operation: 30-21=9, Resulting Numbers: [80, 63, 9] Generated Node #0,2: 70:[80, 63, 9] Operation: 30-21=9 Exploring Operation: 63-30=33, Resulting Numbers: [21, 80, 33] Generated Node #0,3: 70:[21, 80, 33] Operation: 63-30=33 Moving to Node #0,0 Current State: 70:[21, 30, 17], Operations: ['80-63=17'] Exploring Operation: 30-21=9, Resulting Numbers: [17, 9] Generated Node #0,0,0: 70:[17, 9] Operation: 30-21=9 Exploring Operation: 21+17=38, Resulting Numbers: [30, 38] Generated Node #0,0,1: 70:[30, 38] Operation: 21+17=38 Exploring Operation: 30-17=13, Resulting Numbers: [21, 13] Generated Node #0,0,2: 70:[21, 13] Operation: 30-17=13 Exploring Operation: 21-17=4, Resulting Numbers: [30, 4] Generated Node #0,0,3: 70:[30, 4] Operation: 21-17=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[17, 9], Operations: ['80-63=17', '30-21=9'] Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,70 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[30, 4], Operations: ['80-63=17', '21-17=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,70 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[30, 38], Operations: ['80-63=17', '21+17=38'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[21, 13], Operations: ['80-63=17', '30-17=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,70 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[80, 30, 3], Operations: ['63/21=3'] Exploring Operation: 80-30=50, Resulting Numbers: [3, 50] Generated Node #0,1,0: 70:[3, 50] Operation: 80-30=50 Exploring Operation: 80-3=77, Resulting Numbers: [30, 77] Generated Node #0,1,1: 70:[30, 77] Operation: 80-3=77 Exploring Operation: 30/3=10, Resulting Numbers: [80, 10] Generated Node #0,1,2: 70:[80, 10] Operation: 30/3=10 Exploring Operation: 30+3=33, Resulting Numbers: [80, 33] Generated Node #0,1,3: 70:[80, 33] Operation: 30+3=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[80, 10], Operations: ['63/21=3', '30/3=10'] Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,70 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[21, 80, 30, 63], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [80, 30, 3] Generated Node #0,1: 70:[80, 30, 3] Operation: 63/21=3 Moving to Node #0,1 Current State: 70:[80, 30, 3], Operations: ['63/21=3'] Exploring Operation: 30/3=10, Resulting Numbers: [80, 10] Generated Node #0,1,2: 70:[80, 10] Operation: 30/3=10 Moving to Node #0,1,2 Current State: 70:[80, 10], Operations: ['63/21=3', '30/3=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 87, 58, 90, 74 ]
85
[ "58+90=148", "148/74=2", "87-2=85" ]
Current State: 85:[87, 58, 90, 74], Operations: [] Exploring Operation: 58+90=148, Resulting Numbers: [87, 74, 148] Generated Node #2: [87, 74, 148] from Operation: 58+90=148 Current State: 85:[87, 74, 148], Operations: ['58+90=148'] Exploring Operation: 148/74=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 148/74=2 Current State: 85:[87, 2], Operations: ['58+90=148', '148/74=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[87, 58, 90, 74], Operations: [] Exploring Operation: 74-58=16, Resulting Numbers: [87, 90, 16] Generated Node #0,0: 85:[87, 90, 16] Operation: 74-58=16 Exploring Operation: 87-58=29, Resulting Numbers: [90, 74, 29] Generated Node #0,1: 85:[90, 74, 29] Operation: 87-58=29 Exploring Operation: 90-58=32, Resulting Numbers: [87, 74, 32] Generated Node #0,2: 85:[87, 74, 32] Operation: 90-58=32 Moving to Node #0,0 Current State: 85:[87, 90, 16], Operations: ['74-58=16'] Exploring Operation: 90-87=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 85:[16, 3] Operation: 90-87=3 Exploring Operation: 87-16=71, Resulting Numbers: [90, 71] Generated Node #0,0,1: 85:[90, 71] Operation: 87-16=71 Exploring Operation: 90-16=74, Resulting Numbers: [87, 74] Generated Node #0,0,2: 85:[87, 74] Operation: 90-16=74 Moving to Node #0,1 Current State: 85:[90, 74, 29], Operations: ['87-58=29'] Exploring Operation: 74-29=45, Resulting Numbers: [90, 45] Generated Node #0,1,0: 85:[90, 45] Operation: 74-29=45 Exploring Operation: 90-74=16, Resulting Numbers: [29, 16] Generated Node #0,1,1: 85:[29, 16] Operation: 90-74=16 Exploring Operation: 74+29=103, Resulting Numbers: [90, 103] Generated Node #0,1,2: 85:[90, 103] Operation: 74+29=103 Moving to Node #0,2 Current State: 85:[87, 74, 32], Operations: ['90-58=32'] Exploring Operation: 87-74=13, Resulting Numbers: [32, 13] Generated Node #0,2,0: 85:[32, 13] Operation: 87-74=13 Exploring Operation: 74+32=106, Resulting Numbers: [87, 106] Generated Node #0,2,1: 85:[87, 106] Operation: 74+32=106 Exploring Operation: 74-32=42, Resulting Numbers: [87, 42] Generated Node #0,2,2: 85:[87, 42] Operation: 74-32=42 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[32, 13], Operations: ['90-58=32', '87-74=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[87, 106], Operations: ['90-58=32', '74+32=106'] Exploring Operation: 106-87=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 87+106=193, Resulting Numbers: [193] 193,85 unequal: No Solution Exploring Operation: 87*106=9222, Resulting Numbers: [9222] 9222,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[87, 42], Operations: ['90-58=32', '74-32=42'] Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,85 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 85:[16, 3], Operations: ['74-58=16', '90-87=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[87, 74], Operations: ['74-58=16', '90-16=74'] Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 87*74=6438, Resulting Numbers: [6438] 6438,85 unequal: No Solution Exploring Operation: 87+74=161, Resulting Numbers: [161] 161,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[29, 16], Operations: ['87-58=29', '90-74=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,85 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[90, 71], Operations: ['74-58=16', '87-16=71'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 90*71=6390, Resulting Numbers: [6390] 6390,85 unequal: No Solution Exploring Operation: 90+71=161, Resulting Numbers: [161] 161,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[90, 103], Operations: ['87-58=29', '74+29=103'] Exploring Operation: 90*103=9270, Resulting Numbers: [9270] 9270,85 unequal: No Solution Exploring Operation: 103-90=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 90+103=193, Resulting Numbers: [193] 193,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[90, 45], Operations: ['87-58=29', '74-29=45'] Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,85 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 72, 77, 18, 84 ]
48
[ "72*77=5544", "5544/84=66", "66-18=48" ]
Current State: 48:[72, 77, 18, 84], Operations: [] Exploring Operation: 72*77=5544, Resulting Numbers: [18, 84, 5544] Generated Node #2: [18, 84, 5544] from Operation: 72*77=5544 Current State: 48:[18, 84, 5544], Operations: ['72*77=5544'] Exploring Operation: 5544/84=66, Resulting Numbers: [18, 66] Generated Node #3: [18, 66] from Operation: 5544/84=66 Current State: 48:[18, 66], Operations: ['72*77=5544', '5544/84=66'] Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[72, 77, 18, 84], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [77, 18, 12] Generated Node #0,0: 48:[77, 18, 12] Operation: 84-72=12 Exploring Operation: 84-77=7, Resulting Numbers: [72, 18, 7] Generated Node #0,1: 48:[72, 18, 7] Operation: 84-77=7 Exploring Operation: 77-72=5, Resulting Numbers: [18, 84, 5] Generated Node #0,2: 48:[18, 84, 5] Operation: 77-72=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[72, 18, 7], Operations: ['84-77=7'] Exploring Operation: 72-7=65, Resulting Numbers: [18, 65] Generated Node #0,1,0: 48:[18, 65] Operation: 72-7=65 Exploring Operation: 72/18=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 48:[7, 4] Operation: 72/18=4 Exploring Operation: 72-18=54, Resulting Numbers: [7, 54] Generated Node #0,1,2: 48:[7, 54] Operation: 72-18=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[7, 4], Operations: ['84-77=7', '72/18=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[7, 54], Operations: ['84-77=7', '72-18=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[18, 65], Operations: ['84-77=7', '72-7=65'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[77, 18, 12], Operations: ['84-72=12'] Exploring Operation: 18-12=6, Resulting Numbers: [77, 6] Generated Node #0,0,0: 48:[77, 6] Operation: 18-12=6 Exploring Operation: 77-12=65, Resulting Numbers: [18, 65] Generated Node #0,0,1: 48:[18, 65] Operation: 77-12=65 Exploring Operation: 77-18=59, Resulting Numbers: [12, 59] Generated Node #0,0,2: 48:[12, 59] Operation: 77-18=59 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[12, 59], Operations: ['84-72=12', '77-18=59'] Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,48 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[18, 65], Operations: ['84-72=12', '77-12=65'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,48 unequal: No Solution Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[77, 6], Operations: ['84-72=12', '18-12=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,48 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[18, 84, 5], Operations: ['77-72=5'] Exploring Operation: 84-18=66, Resulting Numbers: [5, 66] Generated Node #0,2,0: 48:[5, 66] Operation: 84-18=66 Exploring Operation: 84-5=79, Resulting Numbers: [18, 79] Generated Node #0,2,1: 48:[18, 79] Operation: 84-5=79 Exploring Operation: 18+5=23, Resulting Numbers: [84, 23] Generated Node #0,2,2: 48:[84, 23] Operation: 18+5=23 Moving to Node #0,2,0 Current State: 48:[5, 66], Operations: ['77-72=5', '84-18=66'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[18, 79], Operations: ['77-72=5', '84-5=79'] Exploring Operation: 18+79=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 18*79=1422, Resulting Numbers: [1422] 1422,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[84, 23], Operations: ['77-72=5', '18+5=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,48 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 36, 77, 85, 3 ]
12
[ "85-77=8", "3*8=24", "36-24=12" ]
Current State: 12:[36, 77, 85, 3], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [36, 3, 8] Generated Node #2: [36, 3, 8] from Operation: 85-77=8 Current State: 12:[36, 3, 8], Operations: ['85-77=8'] Exploring Operation: 3*8=24, Resulting Numbers: [36, 24] Generated Node #3: [36, 24] from Operation: 3*8=24 Current State: 12:[36, 24], Operations: ['85-77=8', '3*8=24'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[36, 77, 85, 3], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [36, 3, 8] Generated Node #0,0: 12:[36, 3, 8] Operation: 85-77=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[36, 3, 8], Operations: ['85-77=8'] Exploring Operation: 36/3=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 12:[8, 12] Operation: 36/3=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[8, 12], Operations: ['85-77=8', '36/3=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,12 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
[ 30, 12, 50, 47 ]
55
[ "30+12=42", "50+47=97", "97-42=55" ]
Current State: 55:[30, 12, 50, 47], Operations: [] Exploring Operation: 30+12=42, Resulting Numbers: [50, 47, 42] Generated Node #2: [50, 47, 42] from Operation: 30+12=42 Current State: 55:[50, 47, 42], Operations: ['30+12=42'] Exploring Operation: 50+47=97, Resulting Numbers: [42, 97] Generated Node #3: [42, 97] from Operation: 50+47=97 Current State: 55:[42, 97], Operations: ['30+12=42', '50+47=97'] Exploring Operation: 97-42=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[30, 12, 50, 47], Operations: [] Exploring Operation: 50-30=20, Resulting Numbers: [12, 47, 20] Generated Node #0,0: 55:[12, 47, 20] Operation: 50-30=20 Exploring Operation: 30+12=42, Resulting Numbers: [50, 47, 42] Generated Node #0,1: 55:[50, 47, 42] Operation: 30+12=42 Exploring Operation: 47-30=17, Resulting Numbers: [12, 50, 17] Generated Node #0,2: 55:[12, 50, 17] Operation: 47-30=17 Exploring Operation: 50-47=3, Resulting Numbers: [30, 12, 3] Generated Node #0,3: 55:[30, 12, 3] Operation: 50-47=3 Exploring Operation: 30-12=18, Resulting Numbers: [50, 47, 18] Generated Node #0,4: 55:[50, 47, 18] Operation: 30-12=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[12, 50, 17], Operations: ['47-30=17'] Exploring Operation: 50+17=67, Resulting Numbers: [12, 67] Generated Node #0,2,0: 55:[12, 67] Operation: 50+17=67 Exploring Operation: 50-12=38, Resulting Numbers: [17, 38] Generated Node #0,2,1: 55:[17, 38] Operation: 50-12=38 Exploring Operation: 12+17=29, Resulting Numbers: [50, 29] Generated Node #0,2,2: 55:[50, 29] Operation: 12+17=29 Exploring Operation: 17-12=5, Resulting Numbers: [50, 5] Generated Node #0,2,3: 55:[50, 5] Operation: 17-12=5 Exploring Operation: 12+50=62, Resulting Numbers: [17, 62] Generated Node #0,2,4: 55:[17, 62] Operation: 12+50=62 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 55:[50, 5], Operations: ['47-30=17', '17-12=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[30, 12, 50, 47], Operations: [] Exploring Operation: 47-30=17, Resulting Numbers: [12, 50, 17] Generated Node #0,2: 55:[12, 50, 17] Operation: 47-30=17 Moving to Node #0,2 Current State: 55:[12, 50, 17], Operations: ['47-30=17'] Exploring Operation: 17-12=5, Resulting Numbers: [50, 5] Generated Node #0,2,3: 55:[50, 5] Operation: 17-12=5 Moving to Node #0,2,3 Current State: 55:[50, 5], Operations: ['47-30=17', '17-12=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 26, 30, 43, 81 ]
34
[ "30-26=4", "81-43=38", "38-4=34" ]
Current State: 34:[26, 30, 43, 81], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [43, 81, 4] Generated Node #2: [43, 81, 4] from Operation: 30-26=4 Current State: 34:[43, 81, 4], Operations: ['30-26=4'] Exploring Operation: 81-43=38, Resulting Numbers: [4, 38] Generated Node #3: [4, 38] from Operation: 81-43=38 Current State: 34:[4, 38], Operations: ['30-26=4', '81-43=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[26, 30, 43, 81], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [26, 30, 38] Generated Node #0,0: 34:[26, 30, 38] Operation: 81-43=38 Moving to Node #0,0 Current State: 34:[26, 30, 38], Operations: ['81-43=38'] Exploring Operation: 30-26=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 34:[38, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[38, 4], Operations: ['81-43=38', '30-26=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[26, 30, 43, 81], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [26, 30, 38] Generated Node #0,0: 34:[26, 30, 38] Operation: 81-43=38 Moving to Node #0,0 Current State: 34:[26, 30, 38], Operations: ['81-43=38'] Exploring Operation: 30-26=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 34:[38, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 34:[38, 4], Operations: ['81-43=38', '30-26=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic