Browse · MathNet
Print31st Hellenic Mathematical Olympiad
Greece number theory
Problem
We color the numbers with two colors, white and blank, in such a way that both colors are used. Find the number of ways we can perform this coloring if the product of white numbers and the product of blank numbers have maximal common divisor equal to . (P. Bregiannis)
Solution
Number can be colored in two ways, white or blank. Number also can be colored white or blank. Then all even numbers have to be colored with the color of . Also all numbers having common divisor greater than with the above numbers must be colored with the color of . The remaining numbers greater than , that is, can be colored in two ways. Therefore the coloring can be made with different ways. However we must delete the two cases we color all numbers white or blank. So we have finally different ways.
Final answer
62
Techniques
Greatest common divisors (gcd)Coloring schemes, extremal arguments