CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
5
You visited us 5 times! Enjoying our articles? Unlock Full Access!
Question

How many positive integers between 1000 and 9999 inclusive are not divisible by either 5 or 7?


Open in App
Solution

Finding the positive integers between 1000 and 9999 inclusive that are not divisible by either 5 or 7:

  • The total number of positive integers between 1000 and 9999 inclusive are 9999-999=9000.
  • The total number of the positive integers between 1000 and 9999 inclusive that are divisible by 5 can be calculated by dividing the total number of positive integers by 5.

numberofpositiveintegers=90005=1800

The total number of the positive integers between 1000 and 9999 inclusive that are divisible by 7 can be calculated by dividing the total number of positive integers by 7.

numberofpositiveintegers=900071286

The total number of the positive integers between 1000 and 9999 inclusive that are divisible by 5 and 7 can be calculated by dividing the total number of positive integers by 35.

numberofpositiveintegers=900035257

Hence, the total number of the positive integers between 1000 and 9999 inclusive that are not divisible by either 5 or 7 can be calculated as follows:

numberofpositiveintegers=9000-1800-1286+257=6171

Hence, there are 6171 positive integers between 1000 and 9999 inclusive that are not divisible by either 5 or 7.


flag
Suggest Corrections
thumbs-up
2
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
GCD using Step Diagram
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon