My problem is to prove the identity:
$$\sum_{k=1}^{n-1}\frac{\binom{n-1}{k-1}}{k}=\frac{2^n-2}{n}$$
Basically I am trying to show that the LHS is equal to the RHS. I have put this into wolfram and the LHS does simplify to $\frac{2^n-2}{n}$, however, I am not sure as to how it did that.
Note that $$\frac 1k\binom{n-1}{k-1}=\frac 1k\cdot\frac{(n-1)!}{(n-k)!(k-1)!}=\frac{n\cdot (n-1)!}{(n-k)!k!}\cdot \frac 1n=\frac 1n\binom{n}{k}.$$ Then, use the binomial theorem : $$\sum_{k=1}^{n-1}\frac{\binom{n-1}{k-1}}{k}=\frac 1n\sum_{k=1}^{n-1}\binom{n}{k}=\frac 1n(2^n-2)$$