We need to evaluate limn→∞tan(∑r=1ntan−11+r+r21).
We observe that 1+r+r21=1+r(r+1)1=1+r(r+1)(r+1)−r.
Using the identity tan−1A−tan−1B=tan−11+ABA−B, we can write tan−11+r(r+1)(r+1)−r=tan−1(r+1)−tan−1(r).
So the sum telescopes: ∑r=1n[tan−1(r+1)−tan−1(r)]=tan−1(n+1)−tan−1(1).
As n→∞, tan−1(n+1)→2π and tan−1(1)=4π.
So the sum approaches 2π−4π=4π.
Therefore, limn→∞tan(∑r=1ntan−11+r+r21)=tan4π=1.
Hence, the answer is 1.