I'm struggling to simplify this equation:
$$3 + \sum_{i=0}^{n-1} 18n-18i-32$$
Wolfram Alpha tells me that i can simplify this to $3+9n^2-23n$.
How ist that possible?
Thank you
I'm struggling to simplify this equation:
$$3 + \sum_{i=0}^{n-1} 18n-18i-32$$
Wolfram Alpha tells me that i can simplify this to $3+9n^2-23n$.
How ist that possible?
Thank you
$\displaystyle 3 + \sum_{i=0}^{n-1} (18n-18i-32)=3+18n^2-18\sum_{i=0}^{n-1}i-32n.$
Now, $\displaystyle \sum_{i=0}^{n-1}i=\frac{n(n-1)}{2}.$ Now it should be easy.