Total number of elements
=20222022=2×3×337HCF(n,2022)=1is feasible when the value of ' n ' and 2022 has no common factor.
A= Number which are divisible by 2 from \{1,2,3……2022\}
⇒n(A)÷2=1011B= Number which are divisible by 3
from
{1,2,3,…,2022}n(B)=674A∩B= Number which are divisible by 6
from
{1,2,3,…,2022}6,12,18..............,2022
Here
n(A∩B)=337n(A∪B)=n(A)+n(B)−n(A∩B)=1011+674−337=1348C= Number which divisible by 337 from
{1,…,1022}C={337,674,1011,1348,1685,2022}counted in counted in counted in Set
(A∪B) Set
(A∪B) Set
(A∪B)Total elements which are divisible by 2 or 3 or 337
=1348+2=1350Favourable cases
= Element which are neither divisible by 2 , 3 or
337=2022−1350=672Required probability
=2022672=337112