MAH-CET 2026 — Mathematics PYQ
MAH-CET | Mathematics | 2026The sum of integers from to which are divisible by or is

The sum of integers from 1 to 100 which are divisible by 2 or 5 is
3000
3050
(Correct Answer)3200
3250
3050
To find the sum of integers divisible by 2 or 5, we use the Principle of Inclusion-Exclusion from Set Theory.
The formula for the total sum is:
Total Sum=(Sum of numbers divisible by 2)+(Sum of numbers divisible by 5)−(Sum of numbers divisible by both 2 and 5)
Numbers divisible by both 2 and 5 are the numbers divisible by their Least Common Multiple (LCM), which is 10.
Let us calculate each sum individually using the Arithmetic Progression (AP) sum formula:
Sn=2n[a+l]
Where:
n = number of terms
a = first term
l = last term
The sequence of numbers from 1 to 100 divisible by 2 is:
2,4,6,8,…,100
Here:
First term (a) = 2
Last term (l) = 100
Number of terms (n) = 2100=50
Calculating the sum (S2):
S2=250[2+100]
S2=25×102=2550
The sequence of numbers from 1 to 100 divisible by 5 is:
5,10,15,20,…,100
Here:
First term (a) = 5
Last term (l) = 100
Number of terms (n) = 5100=20
Calculating the sum (S5):
S5=220[5+100]
S5=10×105=1050
The sequence of numbers from 1 to 100 divisible by both 2 and 5 (i.e., divisible by 10) is:
10,20,30,40,…,100
Here:
First term (a) = 10
Last term (l) = 100
Number of terms (n) = 10100=10
Calculating the sum (S10):
S10=210[10+100]
S10=5×110=550
Now, substitute the values back into our main formula:
Required Sum=S2+S5−S10
Required Sum=2550+1050−550
Required Sum=3600−550
Required Sum=3050
The sum of integers from 1 to 100 which are divisible by 2 or 5 is 3050.
Hence, the correct option is (b) 3050.
To find the sum of integers divisible by 2 or 5, we use the Principle of Inclusion-Exclusion from Set Theory.
The formula for the total sum is:
Total Sum=(Sum of numbers divisible by 2)+(Sum of numbers divisible by 5)−(Sum of numbers divisible by both 2 and 5)
Numbers divisible by both 2 and 5 are the numbers divisible by their Least Common Multiple (LCM), which is 10.
Let us calculate each sum individually using the Arithmetic Progression (AP) sum formula:
Sn=2n[a+l]
Where:
n = number of terms
a = first term
l = last term
The sequence of numbers from 1 to 100 divisible by 2 is:
2,4,6,8,…,100
Here:
First term (a) = 2
Last term (l) = 100
Number of terms (n) = 2100=50
Calculating the sum (S2):
S2=250[2+100]
S2=25×102=2550
The sequence of numbers from 1 to 100 divisible by 5 is:
5,10,15,20,…,100
Here:
First term (a) = 5
Last term (l) = 100
Number of terms (n) = 5100=20
Calculating the sum (S5):
S5=220[5+100]
S5=10×105=1050
The sequence of numbers from 1 to 100 divisible by both 2 and 5 (i.e., divisible by 10) is:
10,20,30,40,…,100
Here:
First term (a) = 10
Last term (l) = 100
Number of terms (n) = 10100=10
Calculating the sum (S10):
S10=210[10+100]
S10=5×110=550
Now, substitute the values back into our main formula:
Required Sum=S2+S5−S10
Required Sum=2550+1050−550
Required Sum=3600−550
Required Sum=3050
The sum of integers from 1 to 100 which are divisible by 2 or 5 is 3050.
Hence, the correct option is (b) 3050.