Let $a_n =\sum_{d|n} \frac{1}{2^{d+ \frac{n}{d}}}$. In other words, $a_n$ is the sum of $\frac{1}{2^{d+ \frac{n}{d}}}$ over all divisors $d$ of $n$. 
Find
$$\frac{\sum_{k=1} ^{\infty}ka_k}{\sum_{k=1}^{\infty} a_k} =\frac{a_1 + 2a_2 + 3a_3 + ....}{a_1 + a_2 + a_3 +....}$$
1. We start by analyzing the given sequence \( a_n = \sum_{d|n} \frac{1}{2^{d + \frac{n}{d}}} \), where the sum is taken over all divisors \( d \) of \( n \).

2. We need to find the value of the expression:
   \[
   \frac{\sum_{k=1}^\infty k a_k}{\sum_{k=1}^\infty a_k}
   \]

3. First, we compute the numerator \(\sum_{k=1}^\infty k a_k\):
   \[
   \sum_{k=1}^\infty k a_k = \sum_{k=1}^\infty k \sum_{d|k} \frac{1}{2^{d + \frac{k}{d}}}
   \]
   By changing the order of summation, we get:
   \[
   \sum_{k=1}^\infty k a_k = \sum_{k=1}^\infty \sum_{d|k} \frac{k}{2^{d + \frac{k}{d}}}
   \]
   Let \( k = d \cdot l \), then:
   \[
   \sum_{k=1}^\infty k a_k = \sum_{d=1}^\infty \sum_{l=1}^\infty \frac{d \cdot l}{2^{d + l}}
   \]
   This can be rewritten as:
   \[
   \sum_{d=1}^\infty \frac{d}{2^d} \sum_{l=1}^\infty \frac{l}{2^l}
   \]

4. We now compute the inner sums:
   \[
   \sum_{l=1}^\infty \frac{l}{2^l}
   \]
   Using the formula for the sum of a geometric series and its derivative, we have:
   \[
   \sum_{l=1}^\infty \frac{l}{2^l} = \frac{\frac{1}{2}}{(1 - \frac{1}{2})^2} = \frac{\frac{1}{2}}{\frac{1}{4}} = 2
   \]

5. Similarly, for the outer sum:
   \[
   \sum_{d=1}^\infty \frac{d}{2^d} = 2
   \]

6. Therefore, the numerator becomes:
   \[
   \sum_{k=1}^\infty k a_k = 2 \cdot 2 = 4
   \]

7. Next, we compute the denominator \(\sum_{k=1}^\infty a_k\):
   \[
   \sum_{k=1}^\infty a_k = \sum_{k=1}^\infty \sum_{d|k} \frac{1}{2^{d + \frac{k}{d}}}
   \]
   Again, changing the order of summation:
   \[
   \sum_{k=1}^\infty a_k = \sum_{d=1}^\infty \sum_{l=1}^\infty \frac{1}{2^{d + l}}
   \]
   This can be rewritten as:
   \[
   \sum_{d=1}^\infty \frac{1}{2^d} \sum_{l=1}^\infty \frac{1}{2^l}
   \]

8. We compute the inner sums:
   \[
   \sum_{l=1}^\infty \frac{1}{2^l} = 1
   \]

9. Similarly, for the outer sum:
   \[
   \sum_{d=1}^\infty \frac{1}{2^d} = 1
   \]

10. Therefore, the denominator becomes:
    \[
    \sum_{k=1}^\infty a_k = 1 \cdot 1 = 1
    \]

11. Finally, we find the value of the expression:
    \[
    \frac{\sum_{k=1}^\infty k a_k}{\sum_{k=1}^\infty a_k} = \frac{4}{1} = 4
    \]

The final answer is \(\boxed{4}\)