menu


Computer Science

202 • 206 • 250


Coding Projects Header
Pseudocode


Summations
$$ \sum_{i=1}^{n} i $$$$ \frac{n(n+1)}{2} $$
$$ \sum_{i=1}^{n} i^2 $$$$ \frac{n(n+1)(2n+1)}{6} $$
$$ \sum_{i=1}^{n} i^3 $$$$ \frac{n^2(n+1)^2}{4} $$
$$ \sum_{i=0}^{n-1} c^i $$$$ \frac{c^n - 1}{c-1} $$
$$ \sum_{i=0}^n 2^i $$$$ 2^{n+1} - 1 $$
$$ \sum_{i=0}^{n-1} i * 2^i $$$$ 2 + (n - 2)2^n $$