Difference between revisions of "2007 iTest Problems/Problem 49"
Rockmanex3 (talk | contribs) (Solution to Problem 49 -- inspired by solution to problem on Math Prize for Girls) |
(→Solution) |
||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
<br> | <br> | ||
− | Since the raw total of 7-element subsets of <math>\{1, 2, 3,\ldots , 14\}</math> is <math>\ | + | Since the raw total of 7-element subsets of <math>\{1, 2, 3,\ldots , 14\}</math> is <math>\tbinom{14}{7} = 3432</math>, the total number of 7-element subsets that sum to a multiple of 7 is <math>2 + \tfrac{3432-2}{7} = 492</math>. |
<br> | <br> | ||
Line 20: | Line 20: | ||
<br> | <br> | ||
− | Therefore, the number of 7-element subsets that sum to a multiple of 14 is <math>\ | + | Therefore, the number of 7-element subsets that sum to a multiple of 14 is <math>\tfrac{492}{2} = \boxed{246}</math>. |
==See Also== | ==See Also== |
Latest revision as of 10:38, 20 August 2024
Problem
How many -element subsets of are there, the sum of whose elements is divisible by ?
Solution
In order for a number to be divisible by , the number must be divisible by and .
For divisibility by , we can consider a coloring where elements inside the subset are red and elements outside the subset are blue. We can also split the coloring into two sections -- one from numbers 1 to 7, and another from numbers 8 to 14. Note that the total number of elements in a subset must be 7, so the number of red elements in the first section determines the number of red elements in the second section. Thus, we can split into two cases -- one where all sections are monochromatic and another where not all sections are monochromatic.
For the first case, because of the seven member limit for subsets, there are options -- one where the first section is all red and one where the first section is all blue. For the second case, we can apply a cyclic shift on only the first section (i.e.: where RBBBBBB becomes BRBBBBB), and since the rest of the cases are covered, the rest of the cases can be divided into groups of 7. Doing a cyclic shift on the first section would result in an increase mod 7 of , where is the number of red elements in the first section. Since is not a multiple of 7, each cyclic shift (up to the seventh one) result in a different residue mod 7.
Since the raw total of 7-element subsets of is , the total number of 7-element subsets that sum to a multiple of 7 is .
Now we need to find the number of 7-element subsets that sum to a multiple of 7 to also be a multiple of 2. To do this, note that one can swap the two sections of the original coloring and maintain the same residue mod 7. Thus, if is the set of all 492 subsets, then each element of has a corresponding element that is also in . Moreover, during the swap, the parity is reversed because an odd number of residues would be affected (as residues that are colored red for both sections would be unaffected), so half of the subsets would be even.
Therefore, the number of 7-element subsets that sum to a multiple of 14 is .
See Also
2007 iTest (Problems, Answer Key) | ||
Preceded by: Problem 48 |
Followed by: Problem 50 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 • 26 • 27 • 28 • 29 • 30 • 31 • 32 • 33 • 34 • 35 • 36 • 37 • 38 • 39 • 40 • 41 • 42 • 43 • 44 • 45 • 46 • 47 • 48 • 49 • 50 • 51 • 52 • 53 • 54 • 55 • 56 • 57 • 58 • 59 • 60 • TB1 • TB2 • TB3 • TB4 |