All Exams Test series for 1 year @ ₹349 only
Question

Consider a set A = {1, 2, 3, …….., 1000}. How many members of A shall be divisible by 3 or by 5 or by both 3 and 5 ?

This question was previously asked in
UGC NET 2014 Paper 2 Computer Science and Applications Question Paper (28-Dec-2014)
The correct answer is

467

Let \(S_3\) and \(S_5\) be the members of A divisible by 3 and by 5. We need \(|S_3 \cup S_5|\), which by the inclusion–exclusion principle is \(|S_3| + |S_5| - |S_3 \cap S_5|\).

Multiples of 3 up to 1000: \(\lfloor 1000/3 \rfloor = 333\). Multiples of 5 up to 1000: \(\lfloor 1000/5 \rfloor = 200\).

A number divisible by both 3 and 5 is divisible by their LCM 15: \(\lfloor 1000/15 \rfloor = 66\). These were counted twice, so subtract them once.

Total \(= 333 + 200 - 66 = 467\). (533 is the count of numbers divisible by neither, and 66 counts only the common multiples.)

Hence, the answer is 467.

Was this answer helpful?

Similar Questions

  1. 40 software professionals were interviewed for a job. 25 knew PYTHON 20 knew JAVA and 5 knew neither language. How many knew both languages ?


Important Questions from Set Operations

  1. If cardinality of a set A is 6 and that of set B is 7 then find the Cardinality of A Δ B?

  2. 40 software professionals were interviewed for a job. 25 knew PYTHON 20 knew JAVA and 5 knew neither language. How many knew both languages ?

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
303 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App