The number of subset of {1,2,3,4,5,...,2000} such that the sum of items of each subset is divisible by 5,can be written like this :
( + ) , where n,m and k are positive integers ,and n is an odd integer. what's n+m+k .
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.
For any positive integer M , consider the polynomial F ( X ) = j = 1 ∏ 5 M ( 1 + X j ) = k = 0 ∑ 2 5 M ( 5 M + 1 ) a k X k where a k is the number of subsets of { 1 , 2 , 3 , … , 5 M } whose total is equal to k . Thus we want to calculate S = k = 0 ∑ M a 5 k = 5 1 k = 0 ∑ 4 F ( ζ k ) where ζ = e 5 2 π i is a primitive fifth root of unity. Now F ( ζ k ) = j = 1 ∏ 5 M ( 1 + ζ j k ) = ( j = 1 ∏ 5 ( 1 + ζ j k ) ) M and so F ( ζ 0 ) = 2 5 M , while F ( ζ k ) = F ( ζ ) = ( − j = 1 ∏ 5 ( − 1 − ζ j ) ) M = ( − ( ( − 1 ) 5 − 1 ) ) M = 2 M for each 1 ≤ k ≤ 4 . Thus S = 5 1 ( 2 5 M + 4 × 2 M ) = 5 1 ( 2 5 M + 2 M + 2 ) It is worth noting that 2 4 ≡ 1 ( m o d 5 ) , so that 2 5 ≡ 2 ( m o d 5 ) , and hence 2 5 M ≡ 2 M ( m o d 5 ) , so that 2 5 M + 2 M + 2 ≡ 2 M + 2 M + 2 ≡ ( 1 + 4 ) 2 M ≡ 0 ( m o d 5 ) , and hence this formula for S does always give us an integer, whatever the value of M .
In this case we have M = 4 0 0 , so that n + m + k = 5 + 2 0 0 0 + 4 0 2 = 2 4 0 7 .