The sum appears to be simple, but I must have dedicated over 3 hours to solve this and I just can't seem to do it
$$\sum_{k=0}^n k(2^k)$$
To solve using the perturb the sum method.
This was my latest attempt:
$$Sn = \sum_{k=0}^n k(2^k) = \sum_{k=1}^n (2^k)\sum_{i=1}^k 1 $$ Into:
$$ S(n+1) = 2 + \sum_{k=2}^{n+2} (2^k) \sum_{i=2}^k 1 = \sum_{k=1}^{n} (2^k) \sum_{i=1}^k 1 + 2^{n+1}(n+1)$$
I tried to transform the left side sums into the original ones but multiplying by 2 and removing the sum of 2^k and I got close to the answer, but it was still wrong. From what has been said, I reckon the very first step into transforming the original sum into two others is wrong, right?
$$
from after the first part and from before the second $\endgroup$ – lioness99a Mar 3 '20 at 15:56