Question:

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

Updated On: Feb 5, 2026
  • \(\frac{128}{1011}\)
  • \(\frac{166}{1011}\)
  • \(\frac{127}{337}\)
  • \(\frac{112}{337}\)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Approach Solution - 1

To solve the problem of finding the probability that a randomly chosen number \( n \) from the set \( S = \{1, 2, 3, \ldots, 2022\} \) satisfies \( \text{HCF}(n, 2022) = 1 \), we need to determine the number of integers in the set that are coprime to 2022. This is essentially finding the Euler's Totient Function \(\phi(n)\) for \( n = 2022 \).

First, we find the prime factorization of 2022: 

\( 2022 = 2 \times 3 \times 337 \)

Euler's Totient Function \(\phi(n)\) is given by:

\(\phi(n) = n \left(1 - \frac{1}{p_1}\right)\left(1 - \frac{1}{p_2}\right)\ldots\left(1 - \frac{1}{p_k}\right)\)

where \( p_1, p_2, \ldots, p_k \) are the distinct prime factors of \( n \).

Applying this to \( 2022 = 2 \times 3 \times 337 \), we have:

\(\phi(2022) = 2022 \left(1 - \frac{1}{2}\right)\left(1 - \frac{1}{3}\right)\left(1 - \frac{1}{337}\right)\)

Calculating each term:

  • \(1 - \frac{1}{2} = \frac{1}{2}\)
  • \(1 - \frac{1}{3} = \frac{2}{3}\)
  • \(1 - \frac{1}{337} = \frac{336}{337}\)

Substituting these into the formula:

\(\phi(2022) = 2022 \times \frac{1}{2} \times \frac{2}{3} \times \frac{336}{337}\)

Simplifying:

\( \frac{2022}{2} = 1011\)

\( \frac{1011 \times 2}{3} = 674\)

\( \frac{674 \times 336}{337} = 672\)

Therefore, there are 672 numbers in the set \( S \) that are coprime to 2022.

The probability is the ratio of coprime numbers to the total numbers in the set:

\(\frac{672}{2022}\)

Simplifying this fraction:

We divide the numerator and the denominator by their greatest common divisor (GCD), which is 6:

\(672 \div 6 = 112\)

\(2022 \div 6 = 337\)

So, the probability is:

\(\frac{112}{337}\)

Thus, the correct answer is: \(\frac{112}{337}\)

Was this answer helpful?
1
0
Hide Solution
collegedunia
Verified By Collegedunia

Approach Solution -2

S = {1, 2, 3, …… 2022}
HCF (n, 2022) = 1
⇒ n and 2022 have no common factor
Total elements = 2022
2022 = 2 × 3 × 337
M : numbers divisible by 2.
{2, 4, 6, ….., 2022} n(M) = 1011
N : numbers divisible by 3.
{3, 6, 9, ….., 2022} n(N) = 674
L : numbers divisible by 6.
{6, 12, 18, ….., 2022} n(L) = 337
n(M∪N) = n(M) + n(N) –n(L)
= 1011 + 674 – 337
= 1348
0 = Number divisible by 337 but not in M∪N
{337, 1685}
Number divisible by 2, 3 or 337
= 1348 + 2 = 1350
Required probability
\(=\frac{2022−1350}{2022}\)
\(=\frac{672}{2022}\)
\(=\frac{112}{337}\)
Was this answer helpful?
1
0

Concepts Used:

Probability

Probability is defined as the extent to which an event is likely to happen. It is measured by the ratio of the favorable outcome to the total number of possible outcomes.

The definitions of some important terms related to probability are given below:

Sample space

The set of possible results or outcomes in a trial is referred to as the sample space. For instance, when we flip a coin, the possible outcomes are heads or tails. On the other hand, when we roll a single die, the possible outcomes are 1, 2, 3, 4, 5, 6.

Sample point

In a sample space, a sample point is one of the possible results. For instance, when using a deck of cards, as an outcome, a sample point would be the ace of spades or the queen of hearts.

Experiment

When the results of a series of actions are always uncertain, this is referred to as a trial or an experiment. For Instance, choosing a card from a deck, tossing a coin, or rolling a die, the results are uncertain.

Event

An event is a single outcome that happens as a result of a trial or experiment. For instance, getting a three on a die or an eight of clubs when selecting a card from a deck are happenings of certain events.

Outcome

A possible outcome of a trial or experiment is referred to as a result of an outcome. For instance, tossing a coin could result in heads or tails. Here the possible outcomes are heads or tails. While the possible outcomes of dice thrown are 1, 2, 3, 4, 5, or 6.