The sum of all the elements of the set is ______.
Answer: 1633
Solution
We need coprime to , i.e., not divisible by 2 or 3. Use inclusion-exclusion: Sum = to (multiples of 2) (multiples of 3) (multiples of 6). to . (multiples of 2) . (multiples of 3) . (multiples of 6) . Sum .
JEE Main · 2022 · 24 Jun 2022 · Shift 2 · Integer answer