We begin with the expression
x ( x + 1 ) + ( x + 1 ) ( x + 2 ) + … + ( x + n − 1 ‾ ) ( x + n ) = 10 n . x(x+1)+(x+1)(x+2)+\ldots+(x+\overline{n-1})(x+n)=10n. x ( x + 1 ) + ( x + 1 ) ( x + 2 ) + … + ( x + n − 1 ) ( x + n ) = 10 n .
Observe that the k th k^{\text{th}} k th term in this sum is ( x + k ) ( x + k + 1 ) (x+k)(x+k+1) ( x + k ) ( x + k + 1 ) where k k k runs from 0 0 0 to n − 1 n-1 n − 1 ; hence there are exactly n n n such terms. For any quantity a a a , we know the identity
( a ) ( a + 1 ) = a 2 + a . (a)(a+1)=a^2+a. ( a ) ( a + 1 ) = a 2 + a .
Using this, every term becomes ( x + k ) 2 + ( x + k ) (x+k)^2+(x+k) ( x + k ) 2 + ( x + k ) . Therefore the entire left-hand side is
∑ k = 0 n − 1 [ ( x + k ) 2 + ( x + k ) ] . \sum_{k=0}^{n-1}\Big[(x+k)^2+(x+k)\Big]. ∑ k = 0 n − 1 [ ( x + k ) 2 + ( x + k ) ] .
We now split the summation and expand:
∑ k = 0 n − 1 ( x + k ) 2 + ∑ k = 0 n − 1 ( x + k ) . \sum_{k=0}^{n-1}(x+k)^2+\sum_{k=0}^{n-1}(x+k). ∑ k = 0 n − 1 ( x + k ) 2 + ∑ k = 0 n − 1 ( x + k ) .
First we deal with the square term. Writing ( x + k ) 2 = x 2 + 2 x k + k 2 (x+k)^2=x^2+2xk+k^2 ( x + k ) 2 = x 2 + 2 x k + k 2 , we find
∑ k = 0 n − 1 ( x + k ) 2 = ∑ k = 0 n − 1 ( x 2 + 2 x k + k 2 ) = ∑ k = 0 n − 1 x 2 ⏟ = n x 2 + 2 x ∑ k = 0 n − 1 k ⏟ = n ( n − 1 ) 2 + ∑ k = 0 n − 1 k 2 ⏟ = ( n − 1 ) n ( 2 n − 1 ) 6 . \sum_{k=0}^{n-1}(x+k)^2
=\sum_{k=0}^{n-1}\big(x^2+2xk+k^2\big)
=\underbrace{\sum_{k=0}^{n-1}x^2}_{=nx^2}
+2x\underbrace{\sum_{k=0}^{n-1}k}_{=\dfrac{n(n-1)}2}
+\underbrace{\sum_{k=0}^{n-1}k^2}_{=\dfrac{(n-1)n(2n-1)}6}. ∑ k = 0 n − 1 ( x + k ) 2 = ∑ k = 0 n − 1 ( x 2 + 2 x k + k 2 ) = = n x 2 k = 0 ∑ n − 1 x 2 + 2 x = 2 n ( n − 1 ) k = 0 ∑ n − 1 k + = 6 ( n − 1 ) n ( 2 n − 1 ) k = 0 ∑ n − 1 k 2 .
Next we tackle the linear term:
∑ k = 0 n − 1 ( x + k ) = ∑ k = 0 n − 1 x + ∑ k = 0 n − 1 k = n x + n ( n − 1 ) 2 . \sum_{k=0}^{n-1}(x+k)
=\sum_{k=0}^{n-1}x+\sum_{k=0}^{n-1}k
=nx+\dfrac{n(n-1)}2. ∑ k = 0 n − 1 ( x + k ) = ∑ k = 0 n − 1 x + ∑ k = 0 n − 1 k = n x + 2 n ( n − 1 ) .
Collecting all pieces, the entire sum equals
n x 2 + 2 x ⋅ n ( n − 1 ) 2 + ( n − 1 ) n ( 2 n − 1 ) 6 + n x + n ( n − 1 ) 2 . nx^2
+2x\cdot\dfrac{n(n-1)}2
+\dfrac{(n-1)n(2n-1)}6
+nx
+\dfrac{n(n-1)}2. n x 2 + 2 x ⋅ 2 n ( n − 1 ) + 6 ( n − 1 ) n ( 2 n − 1 ) + n x + 2 n ( n − 1 ) .
The factor 2 2 2 in the middle term cancels:
n x 2 + n ( n − 1 ) x + ( n − 1 ) n ( 2 n − 1 ) 6 + n x + n ( n − 1 ) 2 . nx^2+n(n-1)x+\dfrac{(n-1)n(2n-1)}6+nx+\dfrac{n(n-1)}2. n x 2 + n ( n − 1 ) x + 6 ( n − 1 ) n ( 2 n − 1 ) + n x + 2 n ( n − 1 ) .
Combining the two x x x -terms gives
n x 2 + n 2 x + ( n − 1 ) n ( 2 n − 1 ) 6 + n ( n − 1 ) 2 . nx^2+n^2x+\dfrac{(n-1)n(2n-1)}6+\dfrac{n(n-1)}2. n x 2 + n 2 x + 6 ( n − 1 ) n ( 2 n − 1 ) + 2 n ( n − 1 ) .
The two purely numerical fractions share the common factor n ( n − 1 ) n(n-1) n ( n − 1 ) , so we put them over the common denominator 6 6 6 :
( n − 1 ) n ( 2 n − 1 ) 6 + 3 ( n − 1 ) n 6 = n ( n − 1 ) [ ( 2 n − 1 ) + 3 ] 6 = n ( n − 1 ) ( 2 n + 2 ) 6 = 2 n ( n − 1 ) ( n + 1 ) 6 = n ( n − 1 ) ( n + 1 ) 3 . \dfrac{(n-1)n(2n-1)}6+\dfrac{3(n-1)n}{6}
=\dfrac{n(n-1)\big[(2n-1)+3\big]}6
=\dfrac{n(n-1)(2n+2)}6
=\dfrac{2n(n-1)(n+1)}6
=\dfrac{n(n-1)(n+1)}3. 6 ( n − 1 ) n ( 2 n − 1 ) + 6 3 ( n − 1 ) n = 6 n ( n − 1 ) [ ( 2 n − 1 ) + 3 ] = 6 n ( n − 1 ) ( 2 n + 2 ) = 6 2 n ( n − 1 ) ( n + 1 ) = 3 n ( n − 1 ) ( n + 1 ) .
Hence the given equation becomes
n x 2 + n 2 x + n ( n − 1 ) ( n + 1 ) 3 = 10 n . nx^2+n^2x+\dfrac{n(n-1)(n+1)}3=10n. n x 2 + n 2 x + 3 n ( n − 1 ) ( n + 1 ) = 10 n .
Because n > 0 n\gt 0 n > 0 , we safely divide every term by n n n :
x 2 + n x + ( n − 1 ) ( n + 1 ) 3 = 10. x^2+nx+\dfrac{(n-1)(n+1)}3=10. x 2 + n x + 3 ( n − 1 ) ( n + 1 ) = 10.
Noting that ( n − 1 ) ( n + 1 ) = n 2 − 1 (n-1)(n+1)=n^2-1 ( n − 1 ) ( n + 1 ) = n 2 − 1 , we write
x 2 + n x + n 2 − 1 3 = 10. x^2+nx+\dfrac{n^2-1}{3}=10. x 2 + n x + 3 n 2 − 1 = 10.
Moving the constant to one side gives the standard quadratic form in x x x :
x 2 + n x + n 2 − 1 3 − 10 = 0 , x^2+nx+\frac{n^2-1}{3}-10=0, x 2 + n x + 3 n 2 − 1 − 10 = 0 ,
x 2 + n x + n 2 − 31 3 = 0. x^2+nx+\frac{n^2-31}{3}=0. x 2 + n x + 3 n 2 − 31 = 0.
Call the two integral roots r r r and r + 1 r+1 r + 1 (because they are consecutive). For a quadratic x 2 + B x + C = 0 x^2+Bx+C=0 x 2 + B x + C = 0 , the sum of roots is − B -B − B and the product is C C C . Thus we have
r + ( r + 1 ) = 2 r + 1 = − n , r ( r + 1 ) = n 2 − 31 3 . r+(r+1)=2r+1=-n,\qquad r(r+1)=\frac{n^2-31}{3}. r + ( r + 1 ) = 2 r + 1 = − n , r ( r + 1 ) = 3 n 2 − 31 .
From 2 r + 1 = − n 2r+1=-n 2 r + 1 = − n we obtain
r = − n + 1 2 . r=-\frac{n+1}2. r = − 2 n + 1 .
We substitute this r r r into the product condition:
r ( r + 1 ) = ( − n + 1 2 ) ( − n + 1 2 + 1 ) = ( − n + 1 2 ) ( − n − 1 2 ) = ( n + 1 ) ( n − 1 ) 4 = n 2 − 1 4 . r(r+1)=\left(-\frac{n+1}2\right)\left(-\frac{n+1}2+1\right)
=\left(-\frac{n+1}2\right)\left(-\frac{n-1}2\right)
=\frac{(n+1)(n-1)}4
=\frac{n^2-1}4. r ( r + 1 ) = ( − 2 n + 1 ) ( − 2 n + 1 + 1 ) = ( − 2 n + 1 ) ( − 2 n − 1 ) = 4 ( n + 1 ) ( n − 1 ) = 4 n 2 − 1 .
Equating this with n 2 − 31 3 \dfrac{n^2-31}{3} 3 n 2 − 31 gives
n 2 − 1 4 = n 2 − 31 3 . \frac{n^2-1}4=\frac{n^2-31}3. 4 n 2 − 1 = 3 n 2 − 31 .
Cross-multiplying,
3 ( n 2 − 1 ) = 4 ( n 2 − 31 ) , 3(n^2-1)=4(n^2-31), 3 ( n 2 − 1 ) = 4 ( n 2 − 31 ) ,
3 n 2 − 3 = 4 n 2 − 124. 3n^2-3=4n^2-124. 3 n 2 − 3 = 4 n 2 − 124.
Bringing all terms to one side,
0 = 4 n 2 − 124 − 3 n 2 + 3 = n 2 − 121. 0=4n^2-124-3n^2+3=n^2-121. 0 = 4 n 2 − 124 − 3 n 2 + 3 = n 2 − 121.
This yields
n 2 = 121 ⟹ n = 11 , n^2=121\quad\Longrightarrow\quad n=11, n 2 = 121 ⟹ n = 11 ,
since n n n is given to be a positive integer.
Hence, the correct answer is Option D.