Too high to be counted

Let A = { 1 , 2 , 3 , , 2016 , 2017 } A=\{1,2,3,\ldots ,2016,2017\} . Create every possible subset of A A and then make the product of the elements contained in every subset. How much is the sum of all the values you have obtained?

Submit your answer as the last 4 digits of this sum.


The answer is 9999.

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

Filippo Olivetti
Mar 26, 2017

Let p ( x ) p(x) be the polynomial of 2017th degree which zeros are 2017 , 2016 , 2015 , . . . , 3 , 2 , 1 -2017, -2016, -2015, ..., -3, -2, -1 . Therefore p ( x ) p(x) can be written as: p ( x ) = ( x + 1 ) ( x + 2 ) ( x + 3 ) . . . ( x + 2016 ) ( x + 2017 ) \large p(x) = (x+1)(x+2)(x+3)...(x+2016)(x+2017) By Vieta's formulas, every coefficient of x n x^n , where n = 0 , 1 , 2 , 3 , . . . , 2016 n=0,1,2,3,...,2016 , is given by the sum of all possible products made by 2017 n 2017-n zeros. This means that the sum we need is the sum of all the coefficient of p ( x ) p(x) , except for the coefficient of x 2017 x^{2017} which is not made by any zero, as he can be created by taking always x x from the brackets. The sum of the coefficients is p ( 1 ) = 2 3 4 5 . . . 2017 2018 p(1) = 2*3*4*5*...*2017*2018 which ends with 0000 as it cointains at least a 5 4 5^4 factor and at least a 2 4 2^4 factor. By subtracting the extra-coefficient of x 2017 x^{2017} (which is 1), we obtains that the sum desidered ends with 9999.

Note: The empty set is a subset of A, and the empty product is defined to be 1.

If you want to leave it as 9999, then you should say "every non-empty subset of A".

Calvin Lin Staff - 4 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...