The function $f(x)=\tan^{-1}\left(\frac{1}{x^2+x+1}\right)$ and the sum $$A = \sum_{k=1}^{17}f(k)$$ is given. Evaluate $\tan(A)$.
I tried to expand the expression using trigonometric addition formula but i couldn't find any pattern or it doesn't become simple. Thanks in advance!