this is for holding javascript data
Dat Do edited beginproblem_a_You_a.tex
about 10 years ago
Commit id: 5ea0572b2ac2415b3335f551f25ca721b0e8cb54
deletions | additions
diff --git a/beginproblem_a_You_a.tex b/beginproblem_a_You_a.tex
index 777f682..5f6ae2c 100644
--- a/beginproblem_a_You_a.tex
+++ b/beginproblem_a_You_a.tex
...
\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 + \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
during each sum to get the total value resulting in: $W(n) = \sum\limits_{i=1}^n i*2^{n-i}$
\smallskip
\noindent