Browse · MathNet
PrintBulgarian National Mathematical Olympiad
Bulgaria counting and probability
Problem
For a set of positive integers with elements, where is odd, a nonempty subset of is called good, if the product of the elements of is divisible by the sum of the elements of , but not divisible by its square. If is good, find the maximum possible number of the good subsets of ?
Solution
If and , then at most one of the sets and is good (otherwise is not good). Therefore the number of the good sets does not exceed half of the number of all subsets, i.e. .
We will prove that the above estimate is sharp. Let and be a prime such that . Let , where for and . Then for every . Consider the set Then the sum of the elements of is equal to . It is easy to see that the good subsets are exactly those with at most elements. They are exactly .
We will prove that the above estimate is sharp. Let and be a prime such that . Let , where for and . Then for every . Consider the set Then the sum of the elements of is equal to . It is easy to see that the good subsets are exactly those with at most elements. They are exactly .
Final answer
2^{n-1}
Techniques
Enumeration with symmetryPrime numbers