MCQMediumJEE 2025Applications of P&C

JEE Mathematics 2025 Question with Solution

Let mm and nn, m<nm < n be two 22-digit numbers. Then the total number of pairs (m,n)(m, n) such that gcd(m,n)=6\gcd(m, n) = 6, is _____

  • A

    6464

  • B

    6060

  • C

    5050

  • D

    5555

Answer

Correct answer:A

Step-by-step solution

Standard Method

Given: mm and nn are two-digit numbers, m<nm < n, and gcd(m,n)=6\gcd(m, n) = 6.

Find: The total number of pairs (m,n)(m, n) satisfying these conditions.

Let

m=6a,n=6bm = 6a, \quad n = 6b

where aa and bb are co-prime numbers.

Since mm and nn are two-digit numbers,

10m99and10n9910 \leq m \leq 99 \quad \text{and} \quad 10 \leq n \leq 99

So,

106a992a1610 \leq 6a \leq 99 \Rightarrow 2 \leq a \leq 16

and

106b992b1610 \leq 6b \leq 99 \Rightarrow 2 \leq b \leq 16

Counting Co-prime Pairs

Thus, we need to count pairs (a,b)(a, b) such that 2a<b162 \leq a < b \leq 16 and gcd(a,b)=1\gcd(a, b) = 1.

The valid pairs listed in the solution are:

  • For a=2a = 2, b=3,5,7,9,11,13,15b = 3, 5, 7, 9, 11, 13, 15
  • For a=3a = 3, b=4,5,7,8,10,11,13,14,16b = 4, 5, 7, 8, 10, 11, 13, 14, 16
  • For a=4a = 4, b=5,7,9,11,13,14,16b = 5, 7, 9, 11, 13, 14, 16
  • For a=5a = 5, b=6,7,8,9,11,13,14,15b = 6, 7, 8, 9, 11, 13, 14, 15
  • For a=6a = 6, b=7,9,11,13,15b = 7, 9, 11, 13, 15
  • For a=7a = 7, b=8,9,10,11,13,14,16b = 8, 9, 10, 11, 13, 14, 16
  • For a=8a = 8, b=9,11,13,15b = 9, 11, 13, 15
  • For a=9a = 9, b=10,11,13,14,16b = 10, 11, 13, 14, 16
  • For a=10a = 10, b=11,13,15b = 11, 13, 15
  • For a=11a = 11, b=12,13,14,15b = 12, 13, 14, 15
  • For a=12a = 12, b=13,14,15,16b = 13, 14, 15, 16
  • For a=13a = 13, b=14,15,16b = 14, 15, 16
  • For a=14a = 14, b=15,16b = 15, 16
  • For a=15a = 15, b=16b = 16

Answer from Listed Count

Adding the number of valid choices of bb for each admissible aa gives the total count stated in the solution.

Therefore, the total number of such pairs is 6464, so the correct option is A.

Common mistakes

  • Assuming gcd(m,n)=6\gcd(m, n) = 6 only means both numbers are divisible by 66. This is incomplete because after writing m=6am = 6a and n=6bn = 6b, we must also require gcd(a,b)=1\gcd(a, b) = 1. Otherwise the gcd of mm and nn would be greater than 66.

  • Including values of aa or bb outside the range 22 to 1616. This is wrong because mm and nn are two-digit numbers, so dividing by 66 gives the restricted range for aa and bb.

  • Counting pairs with a=ba = b or with a>ba > b. This violates the condition m<nm < n, which becomes a<ba < b after dividing both numbers by 66.

Practice more Applications of P&C questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions