Please help to solve:
$\sum_{k=1}^{n}\left (2k-1\right )/2^k$ I tried to separate the numerator into $2k$ and $-1$, and the second fraction is easy to calculate. But I can't get sum for the first one.
I know the answer $3-(2n+3)/2^n$ , but can't get a solution.