Let $X$ be an integer chosen uniformly at random from the set $\{1,2,...,n\}$ and $Y$ be an independent integer chosen uniformly at random from the set $\{1,2,...,m\}$. Find the probability mass function of $X+Y$.
My attempt: Without loss of generality suppose $n<m$. Possible values of $X+Y: 2,3,...,m+n.$ For $2\leq k\leq n$ using independence of $X$ and $Y$ we have $P(X+Y=k)=\sum_{i=2}^{n}P(X=k)P(Y=n-k)=\frac{n-1}{mn}.$
I'm stuck here and don't know how to proceed. What other cases are needed to be considered?