Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  The number of integers between 1 and 500 (bot... Start Learning for Free
The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.
Note: This questions appeared as Numerical Answer Type.
  • a)
    269
  • b)
    270
  • c)
    271
  • d)
    272
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
The number of integers between 1 and 500 (both inclusive) that are div...
The general formula for the union of 3 sets is: 
(A union B union C) = A + B + C - (A intersect B) - (A intersect C) - (B intersect C) + (A intersect B intersect C).
Assuming, 
A = 3, B = 5, C = 7 
= 500/3 + 500/5 + 500/7 - 500/3*5 - 500/5*7 - 500/7*3 + 500/105 
= 271 
Therefore, option C is correct. 
Alternate Solution:
Alternate Solution:
Alternate solution 
Let a = number divisible by 3
b = number divisible by 5
c = number divisible by 7
n(a) = 166
n(b) = 100
n(c) = 71
n(a∩b) = number divisible by 15 = 33
n(b∩c) = number divisible by 35 = 14
n(a∩c) = number divisible by 21 = 23
n(a∩b∩c) = number divisible by 105 = 4
n(a∪b∪c) = n(a) + n(b) + n(c) - n(a∩b) - n(b∩c) - n(a∩c) + n(a∩b∩c) = 166 + 100 + 71 - 33 - 14 - 23 + 4 = 271 
 
View all questions of this test
Most Upvoted Answer
The number of integers between 1 and 500 (both inclusive) that are div...
The general formula for the union of 3 sets is: 
(A union B union C) = A + B + C - (A intersect B) - (A intersect C) - (B intersect C) + (A intersect B intersect C).
Assuming, 
A = 3, B = 5, C = 7 
= 500/3 + 500/5 + 500/7 - 500/3*5 - 500/5*7 - 500/7*3 + 500/105 
= 271 
Therefore, option C is correct. 
Alternate Solution:
Alternate Solution:
Alternate solution 
Let a = number divisible by 3
b = number divisible by 5
c = number divisible by 7
n(a) = 166
n(b) = 100
n(c) = 71
n(a∩b) = number divisible by 15 = 33
n(b∩c) = number divisible by 35 = 14
n(a∩c) = number divisible by 21 = 23
n(a∩b∩c) = number divisible by 105 = 4
n(a∪b∪c) = n(a) + n(b) + n(c) - n(a∩b) - n(b∩c) - n(a∩c) + n(a∩b∩c) = 166 + 100 + 71 - 33 - 14 - 23 + 4 = 271 
 
Free Test
Community Answer
The number of integers between 1 and 500 (both inclusive) that are div...
The general formula for the union of 3 sets is: (A union B union C) = A + B + C – (A intersect B) – (A intersect C) – (B intersect C) + (A intersect B intersect C).
Assuming, A = 3, B = 5, C = 7 = 500/3 + 500/5 + 500/7 – 500/3*5 – 500/5*7 – 500/7*3 + 500/105 = 271 Therefore, option C is correct
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer?
Question Description
The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer?.
Solutions for The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer?, a detailed solution for The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer? has been provided alongside types of The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______.Note:This questions appeared as Numerical Answer Type.a)269b)270c)271d)272Correct answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev