How many numbers in a range [1-n] are divisible by any of given test numbers