Sigma Percentile
JEE Main 2002
LEVELJEE Main

Animated Solution for Mathematics - Sequence and Series: The sum of integers from 1 to 100 that are divisible by 2 or 5 is

Select Answer:

Visualized Solution

Understanding the Sets

  • Goal: Find the sum of integers such that or .
  • Let be the sum of multiples of .
  • Let be the sum of multiples of .

Principle of Inclusion-Exclusion

  • Sum(2 or 5) =
  • Why subtract? Numbers divisible by both and are counted twice!
  • These are multiples of .

Multiples of

  • Sequence:
  • This forms an Arithmetic Progression (A.P.).
  • First term , Last term .
  • Number of terms .

Sum of Multiples of

  • Sum formula:
  • Substitute:
  • Calculate:

Multiples of

  • Sequence:
  • This is another A.P.
  • First term , Last term .
  • Number of terms .

Sum of Multiples of

  • Using
  • Substitute:
  • Calculate:

Multiples of (The Overlap)

  • Sequence:
  • This represents the intersection .
  • First term , Last term .
  • Number of terms .

Sum of Multiples of

  • Using
  • Substitute:
  • Calculate:

Applying Inclusion-Exclusion

  • Total Sum =
  • Substitute the calculated values:
  • Total Sum =

Final Calculation

  • First, add and :
  • Next, subtract :

Conclusion

  • The sum of integers from to divisible by or is .
  • Key Takeaway: Always check for overlapping sets (LCM) when dealing with "OR" conditions.

The Sigma Insight: Arithmetic Progression (A.P.)

Solution Diagram

The Venn Diagram Mindset

To identify the numbers between and divisible by or , we visualize two sets: Set containing multiples of , and Set containing multiples of . We seek the sum of the elements in the union of these two sets.
If we simply add the sum of Set to the sum of Set , we encounter a classic trap. The numbers divisible by both and (the intersection) are counted twice.
To correct this, we apply the Principle of Inclusion-Exclusion. We must calculate the sum of the first set, add the sum of the second set, and subtract the sum of the intersection to balance the scales.

The Machinery of Arithmetic Progressions

A sequence such as is an Arithmetic Progression (A.P.). The sum of an A.P. is governed by the formula:
Here, is the number of terms, is the first term, and is the last term.
For multiples of , we have , , and . The sum is:
For multiples of , we have , , and . The sum is:

The Correction

The numbers divisible by both and are the multiples of their Least Common Multiple, which is . These numbers () were included in both and .
We must subtract this intersection once to correct our total. This sequence has terms.

The Final Synthesis

We now combine these results using the inclusion-exclusion principle: .
Substituting our calculated values:
The final answer is 3050. This result is derived not by brute force, but by the elegant application of logic and pattern recognition.

Similar Questions

JEE Advanced 1984
LEVELJEE Main

The sum of integers from 1 to 100 that are divisible by 2 or 5 is \dots.

JEE Main 2019 (10 January Shift 1)
LEVELBoard

The sum of all two digit positive numbers which when divided by 7 yield 2 or 5 as remainder is :

(A)
1365
(B)
1256
(C)
1465
(D)
1356
JEE Main 2025 (January)
LEVELBoard

The number of 3 -digit numbers, that are divisible by 2 and 3, but not divisible by 4 and 9, is

JEE Main 2019 (8 April Shift 1)
LEVELJEE Main

The sum of all natural numbers 'n' such that and H.C.F. is :

(A)
(B)
(C)
(D)
JEE Main 2021 (26 Aug Shift 2)
LEVELJEE Main

The sum of all 3-digit numbers less than or equal to 500, that are formed without using the digit "1" and they all are multiple of 11, is .

JEE Main 2023 (31 January Shift 1)
LEVELJEE Main

Number of 4-digit numbers that are less than or equal to 2800 and either divisible by 3 or by 11, is equal to ____.

JEE Main 2020 (7 Jan Evening)
LEVELBoard

If the sum of the first 40 terms of the series, is , then is equal to:

(A)
20
(B)
25
(C)
10
(D)
5
JEE Main 2022 (26 June Shift 2)
LEVELJEE Main

The total number of 3-digit numbers, whose greatest common divisor with 36 is 2, is ______.

JEE Main 2020 (7 January Shift 2)
LEVELBoard

If the sum of the first 40 terms of the series, is , then m is equal to :

(A)
10
(B)
25
(C)
5
(D)
20
JEE Main 2023 (01 February Shift 2)
LEVELJEE Main

The sum of the common terms of the following three arithmetic progressions. , and , is equal to