How can I obtain an asymptotic for this partial sum, with an error term of at most $O(m^{1/2}\ln(m))$:
$$\sum_{n=1}^{m-1}\ln(n)\ln(m-n)$$
I tried flipping the order of summation half way through to rewrite it as: $\sum_{n=1}^{m-1}\ln(n)\ln(m-n)=O(\ln(m)^2)+2\sum_{n\leq m/2}\ln(n)\ln(m-n)$ $=O(\ln(m)^2)+2\ln(m)\sum_{n\leq m/2}\ln(n)+2\sum_{n\leq m/2}\ln(1-\frac{n}{m})\ln(n)$
So I could use a crude version of sterlings formula for the sum on the left and then just drop the sum on the right, but even this still only gives me an asymptotic with an error term of $O(m\ln(m))$.