Problem

Source: XIII Polish Junior MO 2018 Finals - Problem 3

Tags: combinatorics, Coloring, number theory, Divisors, Poland



Let $n$ be a positive integer. Each number $1, 2, ..., 1000$ has been colored with one of $n$ colours. Each two numbers , such that one is a divisor of second of them, are colored with different colours. Determine minimal number $n$ for which it is possible.