{1\over 2}S_n^2=-{\left (n+1\right )^2\over 2^{n+1}}+S_n^1+1-{1\over 2^{n+1}}