I had tried to find the closed formula for $$\sum_{i =1}^{n}(n-i)\cdot 2^{i-1}$$ combinatorially following algorithm:
$$\sum_{i =1}^{n}(n-i)\cdot 2^{i-1} =\frac{1}{2}\sum_{i =1}^{n}(n-i)\cdot 2^{i}. $$
$1.$ $2^i$ represent total number of subset of $[i]$.
$2.$ $(n-i)$ represent the whole possible cases of choosing one elment among $[n-i]$
Considering the $1.$ and $2$. same time, $1/2\cdot\sum_{i =1}^{n}(n-i)\cdot 2^{i} $ represents among ordered $n$ elements $1,2,3,4...,n$, choose fist $i$ element and put them into a set. Then among the rest of them choose another one to put it into the same set. Then multiply $1/2$ which reduces the duplicated counting to represent "total number of subsets of [n] which contains at least one element in it"
Therefore, the answer is $2^{n-1}-1$.
Is this algorithm logically clear?
add: Reference to comments, the answer is $2^n - n - 1$ which corresponds to the number of total subset with size more than 2
How could one relate this fact to the given summation?
Let $f(x)=x+x^2+...+x^n$.
Thus, $$f'x)=1+2x+...+nx^{n-1}=\left(\frac{x(x^n-1)}{x-1}\right)'=\frac{((n+1)x^n-1)(x-1)-(x^{n+1}-x)}{(x-1)^2}.$$ Hence, $$1+2\cdot2+3\cdot2^2+...+n2^{n-1}=(n+1)\cdot2^n-1-2^{n+1}+2=(n-1)2^n+1.$$ Id est, $$\sum\limits_{i=1}^n(n-i)2^{i-1}=n\cdot\frac{2^n-1}{2-1}-(n-1)2^n-1=$$ $$=n(2^n-1)-(n-1)2^n-1=2^n-n-1.$$