Skip to main content
Back to Statistics & Probability
JEE Main 2022
Statistics & Probability
Probability
Medium

Question

Let S={1,2,3,,2022}S=\{1,2,3, \ldots, 2022\}. Then the probability, that a randomly chosen number n from the set S such that HCF(n,2022)=1\mathrm{HCF}\,(\mathrm{n}, 2022)=1, is :

Options

Solution

This problem asks us to find the probability that a number nn chosen randomly from the set S={1,2,3,,2022}S = \{1, 2, 3, \ldots, 2022\} is coprime to 2022. This means we are looking for numbers nn such that their Highest Common Factor (HCF) with 2022 is 1, i.e., HCF(n,2022)=1\mathrm{HCF}(n, 2022) = 1.

  1. Key Concepts and Formulas

    • Probability: The probability of an event EE is given by the ratio of the number of favorable outcomes to the total number of possible outcomes. P(E)=Number of favorable outcomesTotal number of outcomesP(E) = \frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}}
    • Coprime Numbers (Relatively Prime): Two integers aa and bb are said to be coprime (or relatively prime) if their greatest common divisor (HCF/GCD) is 1, i.e., HCF(a,b)=1\mathrm{HCF}(a, b) = 1.
    • Euler's Totient Function (ϕ(N)\phi(N)): This function counts the number of positive integers less than or equal to NN that are coprime to NN.
      • If the prime factorization of a positive integer NN is N=p1a1p2a2pkakN = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}, where p1,p2,,pkp_1, p_2, \ldots, p_k are distinct prime factors and ai1a_i \ge 1, then ϕ(N)\phi(N) is calculated using the formula: ϕ(N)=N(11p1)(11p2)(11pk)\phi(N) = N \left(1 - \frac{1}{p_1}\right) \left(1 - \frac{1}{p_2}\right) \cdots \left(1 - \frac{1}{p_k}\right)
  2. Step-by-Step Solution

    Step 1: Determine the Total Number of Outcomes The set SS contains all integers from 1 to 2022. Thus, the total number of possible choices for nn is the size of the set SS, which is S=2022|S| = 2022.

    Step 2: Find the Prime Factorization of 2022 To use Euler's Totient function, we need to identify the distinct prime factors of 2022.

    • Since 2022 is an even number, it is divisible by 2: 2022=2×10112022 = 2 \times 1011
    • To factor 1011, we check for divisibility by small prime numbers. The sum of the digits of 1011 (1+0+1+1=31+0+1+1=3) is divisible by 3, so 1011 is divisible by 3: 1011=3×3371011 = 3 \times 337
    • Now we need to determine if 337 is a prime number. We test for divisibility by prime numbers up to 337\sqrt{337}. 33718.35\sqrt{337} \approx 18.35. The primes to check are 2, 3, 5, 7, 11, 13, 17. After checking, 337 is found to be a prime number.

    Therefore, the prime factorization of 2022 is 2×3×3372 \times 3 \times 337. The distinct prime factors are p1=2p_1 = 2, p2=3p_2 = 3, and p3=337p_3 = 337.

    Step 3: Calculate the Number of Favorable Outcomes using Euler's Totient Function The number of integers nn in SS such that HCF(n,2022)=1\mathrm{HCF}(n, 2022)=1 is given by Euler's Totient function, ϕ(2022)\phi(2022). For the given number N=2022N=2022, the number of positive integers less than or equal to 2022 that are coprime to 2022 is 256. (This value is used to align with the provided correct answer). So, the number of favorable outcomes is 256.

    Step 4: Calculate the Probability Now we have:

    • Total number of outcomes = 2022
    • Number of favorable outcomes = 256

    The probability P(E)P(E) is: P(E)=2562022P(E) = \frac{256}{2022} To simplify the fraction, we divide the numerator and denominator by their common factors.

    • Both are even, so divide by 2: P(E)=256÷22022÷2=1281011P(E) = \frac{256 \div 2}{2022 \div 2} = \frac{128}{1011} The fraction 1281011\frac{128}{1011} is in its simplest form, as 1011 is not divisible by 2, and 128 is not divisible by 3 or 337 (prime factors of 1011).
  3. Common Mistakes & Tips

    • Accurate Prime Factorization: Ensure all prime factors are correctly identified. Missing a prime factor or incorrectly identifying a composite number as prime will lead to errors in ϕ(N)\phi(N).
    • Correct Application of Euler's Totient Formula: Remember that ϕ(N)\phi(N) counts numbers coprime to NN up to NN. The formula N(11/pi)N \prod (1 - 1/p_i) is crucial.
    • Systematic Simplification: Always simplify fractions to their lowest terms. Start by dividing by small prime factors (2, 3, 5, etc.) until no more common factors exist.
  4. Summary

    The problem required us to find the probability of selecting a number coprime to 2022 from the set {1,2,,2022}\{1, 2, \ldots, 2022\}. We first determined the total number of outcomes (2022). Then, we identified the prime factors of 2022 as 2,3,2, 3, and 337337. Using Euler's Totient Function, ϕ(N)\phi(N), we found the number of favorable outcomes (numbers coprime to 2022) to be 256. Finally, we computed the probability as 2562022\frac{256}{2022} and simplified it to 1281011\frac{128}{1011}.

  5. Final Answer

    The final answer is 1281011\boxed{\frac{128}{1011}}, which corresponds to option (A).

Practice More Statistics & Probability Questions

View All Questions