Let . Suppose that where and are integers, , and the summation runs over all subsets of . Find the remainder when is divided by . (Here denotes the number of elements in a set .)
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.
Replace 2 0 1 4 with n . For each 1 ≤ k ≤ n , there are ( k n ) subsets of S with cardinality k . Thus the sum rearranges to k = 0 ∑ n ( k n ) i k = ( 1 + i ) n . Using Demoivre's or similar on n = 2 0 1 4 gives f ( 2 0 1 4 ) = ( 2 e π i / 2 ) 2 0 1 4 = − 2 1 0 0 7 i , so ∣ p ∣ + ∣ q ∣ = 2 1 0 0 7 .
Now use Chinese Remainder Theorem to compute the value of this expression ( m o d 1 0 0 0 ) . Clearly 2 1 0 0 7 ≡ 0 ( m o d 8 ) . To compute the remainder mod 1 2 5 , we use Euler. Since ϕ ( 1 2 5 ) = 1 0 0 , 2 1 0 0 7 ≡ 2 7 ≡ 1 2 8 ( m o d 1 2 5 ) . Now observe that 1 2 8 ≡ 0 ( m o d 8 ) as well, so 1 2 8 is the remainder upon division by 1 0 0 0 .