Gate2017 cs Q37

0. The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.

  • Option : A
  • Explanation :
    {integers between 1 to 500 divisible by 3}
    {integers between 1 to 500 divisible by 5}
    {integers between 1 to 500 divisible by 7}
    To find number of integers between 1 to 500 that are divisible by 3 or 5 or 7 is to find

    (166+100+71) - (33+23+14)+4
    337-70+4 = 271
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *