Problem

Source: MOP 2005 Homework - Red Group #9

Tags: combinatorics unsolved, combinatorics



Set $S=\{1,2,...,2004\}$. We denote by $d_1$ the number of subset of $S$ such that the sum of elements of the subset has remainder $7$ when divided by $32$. We denote by $d_2$ the number of subset of $S$ such that the sum of elements of the subset has remainder $14$ when divided by $16$. Compute $\frac{d_1}{d_2}$.