JEE Main 2025 · 24 January · morning · Numerical answer · +4 / −1

Let S={p₁, p₂ …, p₁₀} be the set of first ten prime numbers. Let A=S ∪ P, where P is the set of all possible products of distinct elements of S. Then the number of all ordered pairs (x, y), x ∈ S, y ∈ A, such that x divides y, is ________ .

Answer and solution

Answer 5120

Solution

Maths sir · 4 steps

Every element of A is a product of a non-empty set of these primes, so count the subsets that contain x.

  1. What A looks like. S gives the single primes and P gives the products of two or more distinct primes. Together, A is every product of a non-empty subset of S. Each subset gives a different number, so |A| = 2¹⁰ - 1 = 1023.
  2. When x divides y. Take y as the product of a subset T of S. Since x is prime, x | y exactly when x ∈ T.
  3. Count for one x. Fix x inside T. Each of the other 9 primes is either in or out, which gives 2⁹ = 512 subsets. None of them is empty, because x is always there.

    Number of pairs = 10 × 2⁹ = 10 × 512

  4. So. The number of ordered pairs is 5120.

The idea to keep. Turn products of distinct primes into subsets. Then x divides y just means x is in the subset, and fixing one element leaves 2 choices for each of the others.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Sets

Asked about 40 times in JEE Main since 2020. This question is from 2025.