State the function to be used
f(r)=r21 The general term will be written as a difference of values of f.
Form the difference f(r)−f(r+2)
f(r)−f(r+2)=r21−(r+2)21 This is the difference that will telescope.
Put the difference over a common denominator
f(r)−f(r+2)=r2(r+2)24r+4 The two terms combine to give exactly the general term of the series.
State the general term as a difference
ur=r2(r+2)24r+4=f(r)−f(r+2)withf(r)=r21 This is the form required for the method of differences.
Write the sum as a difference of two shifted sums
r=1∑nr2(r+2)24r+4=r=1∑nf(r)−r=3∑n+2f(r) Re-indexing the second sum shows which terms are common to both.
Write the term when r=1
f(1)−f(3)=1−91 Each term is the difference of two values of f.
Write the term when r=2
f(2)−f(4)=41−161 Each term is the difference of two values of f.
Write the term when r=3
f(3)−f(5)=91−251 Each term is the difference of two values of f.
Write the term when r=4
f(4)−f(6)=161−361 Each term is the difference of two values of f.
Write the term when r=n−1
f(n−1)−f(n+1)=(n−1)21−(n+1)21 The penultimate term of the sum.
Write the term when r=n
f(n)−f(n+2)=n21−(n+2)21 The last term of the sum; note the second part involves f(n+2).
Add the terms and cancel the interior terms
r=1∑nr2(r+2)24r+4=(1−91)+(41−161)+⋯+((n−1)21−(n+1)21)+(n21−(n+2)21) Every value of f between f(3) and f(n) appears once positively and once negatively, so it cancels.
Identify the surviving terms
r=1∑nr2(r+2)24r+4=(1+41)−((n+1)21+(n+2)21) Exactly 2 terms survive at each end of the sum.
Note where the boundary sits
the tail term is f(n+2), not f(n) Using f(n) here is the classic off-by-one error.
Check the closed form when n=1
n=1:LHS=98,RHS=98 Adding the 1 term directly agrees with the closed form.
Check the closed form when n=2
n=2:LHS=144155,RHS=144155 Adding the 2 terms directly agrees with the closed form.
Check the closed form when n=3
n=3:LHS=400459,RHS=400459 Adding the 3 terms directly agrees with the closed form.
Check the closed form when n=5
n=5:LHS=441530,RHS=441530 Adding the 5 terms directly agrees with the closed form.
Select the option matching this closed form
r=1∑nr2(r+2)24r+4=4(n+1)2(n+2)2n(n+3)(5n2+15n+12) This is the closed form of the sum.