I'm starting to understand how induction works (with the whole $k \to k+1$ thing), but I'm not exactly sure how summations play a role. I'm a bit confused by this question specifically:
$$ \sum_{i=1}^n 3i-2 = \frac{n(3n-1)}{2} $$
Any hints would be greatly appreciate
Base case:
Let $n=1$ and test: $$\sum_{i=1}^1(3i-2)=3-2=1=\frac{1(3\cdot 1-1)}{2}$$
True for $n = 1$
Induction Hypothesis:
Inductive Step: