Let n=0∑123456789(n2+3n+2)33n2+9n+7=ba,where a and b are relatively prime positive integers. Find b−a.
Solution — click to reveal
We can write (n2+3n+2)33n2+9n+7=(n+1)3(n+2)33n2+9n+7=(n+1)3(n+2)3(n3+6n2+12n+8)−(n3+3n2+3n+1)=(n+1)3(n+2)3(n+2)3−(n+1)3=(n+1)31−(n+2)31.Therefore, n=0∑123456789(n2+3n+2)33n2+9n+7=n=0∑123456789((n+1)31−(n+2)31)=(1−231)+(231−331)+(331−431)+⋯+(12345679031−12345679131)=1−12345679131=12345679131234567913−1.Thus, a=1234567913−1 and b=1234567913, so b−a=1.