Problem:
Find the least number of colors with the following property: the integers can be colored such that there are no integers of the same color for which divides and divides .
Solution
Solution:
Denote by the least number of colors such that the integers can be colored in the required way. We shall prove that , where .
Observe that in the sequence we have no three numbers of the same color. This means that .
Consider the following coloring by colors (each color is identified with an integer among ). If , where are primes, then we have and we can correctly color by the color .
If divides and divides , then we have , i.e., . This means that the numbers and have different colors. Hence .
Now applying the above formula for we get .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.