JEE MainMathematicsPermutations and CombinationsMCQ+4 / −1
The sum of integers from 1 to 100 that are divisible by 2 or 5 is :
- A3000
- B3050
- C3600
- D3250
View written solutionFree
Correct answer: B
-
We need the sum of all integers from to that are divisible by or .
-
Use the inclusion-exclusion principle:
- Sum of multiples of
- Sum of multiples of
- Subtract sum of multiples of both and , i.e. multiples of
Step 1: Sum of multiples of from to
The multiples are: This is an AP with:
- first term
- last term
- number of terms
So,
Step 2: Sum of multiples of from to
The multiples are: Here,
- first term
- last term
- number of terms
So,
Step 3: Sum of multiples of both and
Numbers divisible by both and are divisible by .
Multiples of from to are: Here,
- first term
- last term
- number of terms
So,
Step 4: Apply inclusion-exclusion
Required sum:
Step 5: Check options
- A:
- B: ✅
- C:
- D:
So the correct option is:
More from Permutations and Combinations
- Five digit number divisible by 3 is formed using 0, 1, 2, 3, 4 and 5 without repetition. Total number of such numbers are :2002 · MCQ
- Total number of four digit odd numbers that can be formed using 0, 1, 2, 3, 5, 7 (using repetition allowed) are :2002 · MCQ
- The number of sequences of ten terms, whose terms are either 0 or 1 or 2 , that contain exactly five 1 s and exactly three 2 s , is equal to :2025 · MCQ
- The number of ways, in which the letters A, B, C, D, E can be placed in the 8 boxes of the figure below so that no row remains empty and at most one letter can be placed in a box, is : Includes diagram2025 · MCQ
- All five letter words are made using all the letters A, B, C, D, E and arranged as in an English dictionary with serial numbers. Let the word at serial number be denoted by . Let the probability …2025 · Numerical
- If the number of seven-digit numbers, such that the sum of their digits is even, is , then is equal to 2025 · Numerical
- Line of slope 2 and line of slope intersect at the origin O . In the first quadrant, , are 12 points on line and are 9 points on line . Then…2025 · MCQ
- Let m and , be two 2-digit numbers. Then the total numbers of pairs , such that , is .2025 · Numerical