If ∑r=125(rr4+r2+1)=pq, where p and q are positive integers such that gcd (p,q)=1, then p+q is equal to ________. [2026]
(976)
S=∑r(r2+r+1)(r2-r+1)
=12∑r=125(1r2-r+1-1r2+r+1)
=12[(11-13)+(13-17)+⋯+(1601-1651)]
=12[1-1651]
=12[650651]=325651
pq=325651⇒p+q=976