Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
JEE Main 202122 JulyMorning Shift
Exam
JEE Main
Year
2021
Date
22 July
Shift
Morning Shift
Subject
Mathematics
Chapter
Permutation and Combination

JEE Main 2021 · 22 July · Morning Shift · Mathematics · Permutation and Combination

The sum of all the elements in the set n ∈ 1, 2, , 100 ∣ H.C.F. of...

The sum of all the elements in the set { n \in { 1, 2, \ldots \ldots , 100 } ∣ H.C.F. of nn and 20402040 is 11} is equal to __________.

Correct answer

0

Step-by-step solution

The prime factorisation of the given number is 2040=23×3×5×172040 = {2}^{3} \times 3 \times 5 \times 17

The H.C.F. of nn and 20402040 is 11 if nn is not a multiple of 2,3,52, 3, 5 and 17.17 .

Hence nn cannot be multiple of 2,3,52, 3, 5 and 1717

Then sum is n(1)−(n(2)+n(3)+n(5)+n(17)−n(6)−n(10)−n(34)−n(15)−n(51)−n(85))+n(30))n ( 1 ) - ( n ( 2 ) + n ( 3 ) + n ( 5 ) + n ( 17 ) - n ( 6 ) - n ( 10 ) - n ( 34 ) - n ( 15 ) - n ( 51 ) - n ( 85 ) ) + n ( 30 ) )
Where n(a)n ( a ) means the sum of all numbers belonging to the set 1,2,…….100{ 1, 2, \ldots \ldots . 100 } which are divisible by aa

=100×1012−(2×50×512+3×33×342+5×20×212+17×5×62−6×16×172−10×10×112−34×2×32−15×6×72−51−85+180)= \dfrac{100 \times 101}{2} - \left(\dfrac{2 \times 50 \times 51}{2} + \dfrac{3 \times 33 \times 34}{2} + \dfrac{5 \times 20 \times 21}{2} + \dfrac{17 \times 5 \times 6}{2} - \dfrac{6 \times 16 \times 17}{2} - \dfrac{10 \times 10 \times 11}{2} - \dfrac{34 \times 2 \times 3}{2} - \dfrac{15 \times 6 \times 7}{2} - 51 - 85 + 180\right)

=5050−2550−1683−1050−255+816+550+102+315+51+85−180= 5050 - 2550 - 1683 - 1050 - 255 + 816 + 550 + 102 + 315 + 51 + 85 - 180

=1251= 1251

Alternate Solution:
Thus, the sum of all the required numbers taking the common elements only once, is (1+3+5+…..+99)−(3+9+15+21+……+99)−(5+25+35+55+65+85+95)−(17)\left(1 + 3 + 5 + \ldots . . + 99\right) - \left(3 + 9 + 15 + 21 + \ldots \ldots + 99\right) - \left(5 + 25 + 35 + 55 + 65 + 85 + 95\right) - \left(17\right)

Now, using the sum of nn terms of an arithmetic progression i.e. Sn=n2[a+l],{S}_{n} = \dfrac{n}{2}\left[a + l\right], where aa is the first term and ll is the last term.

=502[1+99]−172[3+99]−(365)−17= \dfrac{50}{2}\left[1 + 99\right] - \dfrac{17}{2}\left[3 + 99\right] - \left(365\right) - 17

=502(100)−172(102)−365−17= \dfrac{50}{2}\left(100\right) - \dfrac{17}{2}\left(102\right) - 365 - 17

=2500−867−365−17= 2500 - 867 - 365 - 17

=1251.= 1251 .

Practice Permutation and Combination on Quantrex Academy →

More from Permutation and Combination

All Permutation and Combination questions Full Permutation and Combination list Permutation and Combination JEE Maths PYQsJEE Mathematics PYQs All JEE Main PYQs