Difference between revisions of "2016 MPFG Problem 18"
(Created page with "==Problem== Let <math>T = \{1, 2, 3, . . . , 14, 15\}</math>. Say that a subset <math>S</math> of <math>T</math> is handy if the sum of all the elements of <math>S</math> is a...") |
(→Solution 1) |
||
Line 13: | Line 13: | ||
<math>F(w) = F(w^2) = F(w^3) = F(w^4) = 2^3 = 8</math> | <math>F(w) = F(w^2) = F(w^3) = F(w^4) = 2^3 = 8</math> | ||
− | <math>\frac{2^15+4\cdot8}{5} = 6560</math> | + | <math>\frac{2^{15}+4\cdot8}{5} = 6560</math> |
+ | |||
+ | ~cassphe |
Revision as of 10:45, 26 August 2025
Problem
Let . Say that a subset
of
is handy if the sum of all the elements of
is a multiple of
. For example, the empty set is handy (because its sum is
) and
itself is handy (because its sum is
). Compute the number of handy subsets of
.
Solution 1
We can use roots of unity to solve this problem.
~cassphe