(a) Number of elements of S divisible by 3 = 300  [ number of integers from 1 to 999 , divisible  by 3 is = 333.  From this subtract the number of integers from 1 to 99, divisible by 3 is  = 33. Hence the requisite figure is 300]. Say n( S3) =300

 

      Like wise n (S4) = 224 and  n(S12) = 75 = n(S3&4)

 

The inclusion exclusion principle is

 

     n( S3) U  n (S4) =     n( S3)  +   n (S4) – n (S12)

 

                              = 300  +224 -75

 

                              =  549

 

(b) It is required to find intersection of Set of 0dd numbers and  the Set of numbers not divisible by 7  , between 100 to 999. The number of elements of Set S is = 900 . In Set language we have to determine Sodd S’7 .

 

Now consider the  number of elements of S which are odd= 450 [number of integers from 1 to 999 which are odd would be 500.  From this subtract the number of integers from 1 to 99 which are odd = 50] .Number of elements of set S7 = 128

 

Let’s use following terms for brevity.

 Sodd=450   , odd elements of S. 

 S7    = 128 . elements of S divisible by 7                                

 S’7   = 900-128 = 772, obviously these would  be both  even and odd.  Out of these 772, 386 would be odd and 386 would be even.

 

Sodd U S’7 =  450+386=  836

 

Apply the inclusion-exclusion principle

 

Sodd U S’7 =  Sodd + S’ 7  - Sodd ∩ S’7

 

836 = 450 + 772 – Sodd ∩ S’7

 

Hence Sodd ∩ S’7 = 450 +772 -836 

                                  = 386   Answer