arrow
arrow
arrow
What is the number of natural numbers less than or equal to 1000 and divisible by 5 or 7?
Question

What is the number of natural numbers less than or equal to 1000 and divisible by 5 or 7?

A.

314

B.

328

C.

342

D.

370

Correct option is A

Given:
Maximum limit = 1000
Divisors = 5 and 7
Formula Used:
Number of multiples of n up to M = Integer part of (Mn) (\frac{M}{n})​​
n(AB)=n(A)+n(B)n(AB)n(A \cup B) = n(A) + n(B) - n(A \cap B)​​
Solution:
Let A be the set of numbers divisible by 5, and B be the set of numbers divisible by 7.
The intersection of A and B represents numbers divisible by both 5 and 7 (i.e., LCM of 5 and 7 = 35).
Count of numbers divisible by 5:
n(A)=10005=200n(A) = \frac{1000}{5} = 200​​
Count of numbers divisible by 7:
n(B)=10007=142.85142n(B) = \frac{1000}{7} = 142.85 \approx 142​​
Count of numbers divisible by 35:
n(AB)=100035=28.5728n(A \cap B) = \frac{1000}{35} = 28.57 \approx 28​​
Total numbers divisible by 5 or 7:
n(AB)=200+14228n(A \cup B) = 200 + 142 - 28​​
=34228=314 = 342 - 28 = 314​​
Final Answer
So the correct answer is (a)

Free Tests

Free
Must Attempt

RRB NTPC UG Level PYP (Held on 7 Aug 2025 S1)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

CBT-1 Full Mock Test 1

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

RRB Group D Full Mock Test 1

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
test-prime-package

Access ‘RRB Group D’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
482k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow