Skip to content
dronacharya.ai
← JEE Main 2022 · 24 Jun · Shift 2
MathematicsInteger+4 / -1Question 24 of 90

JEE Main 2022 · 24 Jun · Shift 2, Mathematics question 24

The sum of all the elements of the set {α∈{1,2,…,100}:HCF(α,24)=1}\{\alpha\in\{1,2,\dots,100\}:\mathrm{HCF}(\alpha,24)=1\} is ______.

Answer and worked solution

Official answer: 1633

Coprime to 24 means not divisible by 2 or 3.

Inclusion-exclusion. Total 50505050; multiples of 2 sum to 25502550; of 3, 3⋅33⋅342=16833\cdot\frac{33\cdot34}2=1683; of 6, 6⋅16⋅172=8166\cdot\frac{16\cdot17}2=816.

Sum. 5050−2550−1683+816=16335050-2550-1683+816=1633.

Answer: 1633