Find the $pmf$ of $Z = X + Y$ for X and Y i.i.d discrete uniform over {1, 2, ..., N}
I know the convolution formula is
$$ f_Z(z) = \sum_n f_X(x)f_Y(z-x)$$
So $f_X(x) = 1/N$ and $f_Y(y) = 1/N$ too. $f_Y(z - x) = 1/N$ as well because in the discrete uniform, the probabilities are the same for every point in the sample space. So I get
$$ f_Z(z) = \sum_{2}^{2N} \frac{1}{N}\cdot \frac{1}{N} = \sum_{2}^{2N} \frac{1}{N^2} = ~~... $$
I think I'm doing something wrong but I don't know what it is, and I know the answer is
$$ f_Z(z) = \frac{N - |z - (N + 1)|}{N^2} $$
Note: I looked around MSE and while there are similar questions, they don't answer my question specifically.
The convolution formula is $$f_Z(z) = \sum_{n=1}^{N} f_X(n)f_Y(z-n).$$ Now if $z\geq n$ that is $z= n,n+1, n+2,\cdots ,2n$ then $f_Y(z-n) = \frac{1}{N}.$ Otherwise it is equal to $0.$ Now consider different cases and observe that you will get the desired formula.