this is for holding javascript data
Dat Do edited beginproblem_a_You_a.tex
about 10 years ago
Commit id: 43e57d97a1cfd418c6bddacb2c731ec1b4ed4c3c
deletions | additions
diff --git a/beginproblem_a_You_a.tex b/beginproblem_a_You_a.tex
index e31ca88..94c1b33 100644
--- a/beginproblem_a_You_a.tex
+++ b/beginproblem_a_You_a.tex
...
\smallskip
\noindent
(b) Since we are still receiving one extra coupon for each consecutive day, $\sum\limits_{i=1}^n i$ can still represent the number of coupons received. However, the value of the coupons is: $1 + 2 + 4 +
8 + \ldots \ldots+ {n-1} + 2{n-1}$ which can be represented as $\sum\limits_{i=1}^n 2^{n-i}$.
\smallskip
We must multiply the quantity and the value together to get the total value resulting in: $W(n) = \sum\limits_{i=1}^n i*2^{n-i}$