Clear Notion Academy

Sets, Relations and Functions (Beyond Advanced) Practice: How many integers from 1 to 1000 are divisible by none of 6 , 10 and 15 ?

Question

How many integers from 11 to 10001000 are divisible by none of 66, 1010 and 1515?

Answer

Answer: 734

Hint

Apply inclusion-exclusion to the three multiples-sets, noticing what the pairwise lcm's turn out to be.

Solution

Let A,B,CA,B,C be the multiples of 6,10,156,10,15. n(A)=166n(A)=166, n(B)=100n(B)=100, n(C)=66n(C)=66. Every pairwise lcm equals 3030 (lcm(6,10)=lcm(6,15)=lcm(10,15)=30\mathrm{lcm}(6,10)=\mathrm{lcm}(6,15)=\mathrm{lcm}(10,15)=30) and so does the triple lcm. Thus each of A∩BA\cap B, A∩CA\cap C, B∩CB\cap C, A∩B∩CA\cap B\cap C has ⌊1000/30⌋=33\lfloor1000/30\rfloor=33 elements. n(A∪B∪C)=332−3⋅33+33=266n(A\cup B\cup C)=332-3\cdot33+33=266. Required count =1000−266=734=1000-266=734.

More questions from Sets, Relations and Functions (Beyond Advanced) Practice

Practise the full set: Sets, Relations and Functions — Beyond Advanced