Problem

Source: 2020 Dutch BxMO TST p5

Tags: number theory, primes, Product



A set S consisting of $2019$ (different) positive integers has the following property: the product of every 100 elements of $S$ is a divisor of the product of the remaining $1919$ elements. What is the maximum number of prime numbers that $S$ can contain?