$$1\binom{20}1+2\binom{20}2+3\binom{20}3+\dots+19\binom{20}{19}+20\binom{20}{20}$$
I solved it by letting the sum be $S$, then adding the sum to itself but taking the terms from last to first and then using the property $\binom{n}r=\binom{n}{n-r}$ to take the combination part common and simply use the summation of $\binom{n}r$ from $r=1$ to $n$ (which is equal to $2^n-1$) to get the sum.
However, I tried to do it in a different way but was unable to do that.
What I intended to do was consider the binomial coefficients to be that of the terms of expansion $(x+y)^{20}$ and the numbers $1$, $2$, $3$, up to $20$ to be in the value of the expansion if we substitute $x$ and $y$ with two specific values. Then I can just calculate the value of the expansion for the values and subtract $\binom{20}0x^{20}$ to get the required sum. However that clearly doesn't seem to work as:
Let $$S=(x+y)^{20}$$ $$\implies S=\binom{20}0x^{20}+\binom{20}1x^{19}y+\binom{20}2x^{18}y^2+\dots+\binom{20}{20}y^{20}$$
Now let $$x^{19}y=1$$ and $$x^{18}y^2=2$$
Dividing the equations, we get $$\frac xy= \frac12$$
Now again let $$x^{18}y^2=2$$ and $$x^{17}y^3=3$$ Dividing the equations, we get $$\frac xy= \frac23$$
So obviously nothing makes sense if I do it this way since I have already deduced that $\frac xy = \frac 12$ previously.
Is this approach of mine nonsensical or am I proceeding incorrectly? If yes, why?