Observe that the denominator n4+2n3−n2−2n=n(n−1)(n+1)(n+2). Thus we can rewrite the fraction as n4+2n3−n2−2nn2−n+1=n−1a+nb+n+1c+n+2d for some real numbers a,b,c, and d. This method is called partial fractions. Condensing the right hand side as a fraction over n4+2n3−n2−2n we get n2−n+1=a(n3+3n2+2n)+b(n3+2n2−n−2)+c(n3+n2−2n)+d(n3−n). Comparing coefficients of each power of n we get a+b+c+d=0,3a+2b+c=2,2a−b−2c−d=2, and −2b=2. This is a system of 4 equations in 4 variables, and its solution is a=1/2,b=−1/2,c=1/2, and d=−1/2. Thus the summation becomes 21(1−21+31−41+21−31+41−51+31−41+51−61+⋯+161−171+181−191). Notice that almost everything cancels to leave us with 21(1+31−171−191)=969592.