(This is a 1986 Putnam Challenge problem.)
First, note that \begin{equation} n^2 + n + 1 = \frac{n^3 - 1}{n - 1}, \end{equation} which is the slope of the secant line through $f(x) = x^3$ at $x = 1$ and $x = n$. So $\mbox{arccot}\Big(\frac{n^3 - 1}{n - 1}\Big)$ is the acute angle that this line makes with any vertical line. Thus the requested sum is the sum of all these angles ... and this is where I get stuck.
Surely I'm not meant to use a trig addition formula here; all the ones I'm aware of are too convoluted for the purpose.
Am I at least on the right track? The form of the polynomial seems to suggest so, but maybe it's a red herring. Do they do that with Putnam problems?
(It might also be relevant that $\mbox{arccot}(x)$ is convex over the positive reals. But that merely provides inequalities, not identities ... or so it would seem.)
We observe that $\operatorname{arccot}(n^2+n+1)=\arctan(\frac{1}{n})-\arctan(\frac{1}{n+1})$ for $n>0$.
Hence, it is telescoping series, adding to
$\frac{\pi}{4}+\arctan(\frac{1}{1})-\arctan(\frac{1}{2})+\arctan(\frac{1}{2})-\arctan(\frac{1}{3})+\arctan(\frac{1}{3})-\arctan(\frac{1}{4})+...=\frac{\pi}{2}.$