Dat Do edited beginproblem_a_You_a.tex  about 10 years ago

Commit id: 8a3e2c73d97f2604e4483af1a3e65bacfc62bf95

deletions | additions      

       

\end{itemize}  The difference between $2^{n+1}$ and $W(n)$ appears to be $-n-2$ for each term, so the closed form expression for $W(n)$ must be $\sum\limits_{i=1}^n i*2^{n-i} = 2^{n+1}-n-2$. We can prove that this expression is correct using induction.  \\ \begin{proof}  \textbf{Proof:}  \\*  Base Case: For $W(1)$, $2^{1+1}-1-2 = 1$ which is correct since $W(1) = 1$.