Sum square difference

The sum of the squares of the first ten natural numbers is

1 2 + 2 2 + . . . + 1 0 2 = 385 1^2 + 2^2 + ... + 10^2 = 385

The square of the sum of the first ten natural numbers is

( 1 + 2 + . . . + 10 ) 2 = 5 5 2 = 3025 (1 + 2 + ... + 10)^2 = 55^2 = 3025

Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 385 = 2640 3025 - 385 = 2640 .

Find the difference between the sum of the squares of the first one Hundred natural numbers and the square of the sum.


Try other problems here .


The answer is 25164150.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Maximos Stratis
Jun 2, 2017

The sum of the n first natural numbers is: R n = n ( n + 1 ) 2 R_{n}=\frac{n(n+1)}{2} . The sum of the squares of the n first natural numbers is: S n = n ( n + 1 ) ( 2 n + 1 ) 6 S_{n}=\frac{n(n+1)(2n +1)}{6} We want to evaluate the quantity ( R n ) 2 S n (R_{n})^{2}-S_{n} for n=100. ( R n ) 2 S n = (R_{n})^{2}-S_{n}= ( n ( n + 1 ) 2 ) 2 n ( n + 1 ) ( 2 n + 1 ) 6 = (\frac{n(n+1)}{2})^{2}-\frac{n(n+1)(2n +1)}{6}= n 2 ( n + 1 ) 2 4 n ( n + 1 ) ( 2 n + 1 ) 6 = \frac{n^{2}(n+1)^{2}}{4}-\frac{n(n+1)(2n +1)}{6}= n ( n + 1 ) 2 ( n ( n + 1 ) 2 2 n + 1 3 ) = \frac{n(n+1)}{2}(\frac{n(n+1)}{2}-\frac{2n+1}{3})= n ( n + 1 ) 2 3 n 2 + 3 n 4 n 2 6 = \frac{n(n+1)}{2}\frac{3n^{2}+3n-4n-2}{6}= n ( n + 1 ) ( 3 n 2 n 2 ) 12 = \frac{n(n+1)(3n^{2}-n-2)}{12}= 3 n 4 + 2 n 3 3 n 2 2 n 12 \frac{3n^{4}+2n^{3}-3n^{2}-2n}{12} . For n=100, this works out to be 25164150.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...