Sign in
12thPass logo
New chatPYQ LibraryDoubtsRank report
Sign in to see Recents

Your guest activity stays on this device

Sign in to save progress →
Sign in

Permutations and Combinations question

2023 · 30 Jan · Shift 2 · Q25
Guest · filters and generic practice availableBrowsing as a guest · PYQ filters and generic practice are available. Sign in only for personalised features and saved progress.
  1. PYQ Library
  2. /JEE Main
  3. /Mathematics
  4. /Permutations and Combinations
  5. /2023 · 30 Jan · Shift 2 · Q25

Permutations and Combinations question

2023 · 30 Jan · Shift 2 · Q25

JEE MainMathematicsPermutations and CombinationsMCQ+4 / −1
The number of ways of selecting two numbers aaa and b,a∈{2,4,6,….,100}b, a \in\{2,4,6, \ldots ., 100\}b,a∈{2,4,6,….,100} and b∈{1,3,5,…..,99}b \in\{1,3,5, \ldots . ., 99\}b∈{1,3,5,…..,99} such that 2 is the remainder when a+ba+ba+b is divided by 23 is :
  1. A
    186
  2. B
    54
  3. C
    108
  4. D
    268
View written solutionFree

Correct answer: C

  1. Interpret the sets

We have:

  • a∈{2,4,6,…,100}a \in \{2,4,6,\dots,100\}a∈{2,4,6,…,100} = all even numbers from 222 to 100100100.
  • b∈{1,3,5,…,99}b \in \{1,3,5,\dots,99\}b∈{1,3,5,…,99} = all odd numbers from 111 to 999999.

Thus,

  • a=2xa=2xa=2x where x=1,2,…,50x=1,2,\dots,50x=1,2,…,50
  • b=2y−1b=2y-1b=2y−1 where y=1,2,…,50y=1,2,\dots,50y=1,2,…,50

We want a+b≡2(mod23).a+b \equiv 2 \pmod{23}.a+b≡2(mod23).


  1. Rewrite the condition modulo 23

Substitute: a+b=2x+(2y−1)=2(x+y)−1.a+b=2x+(2y-1)=2(x+y)-1.a+b=2x+(2y−1)=2(x+y)−1.

Condition: 2(x+y)−1≡2(mod23)2(x+y)-1 \equiv 2 \pmod{23}2(x+y)−1≡2(mod23) 2(x+y)≡3(mod23).2(x+y) \equiv 3 \pmod{23}.2(x+y)≡3(mod23).

Now inverse of 222 modulo 232323 is 121212, because 2⋅12=24≡1(mod23).2\cdot 12=24\equiv 1 \pmod{23}.2⋅12=24≡1(mod23).

So, x+y≡3⋅12=36≡13(mod23).x+y \equiv 3\cdot 12=36 \equiv 13 \pmod{23}.x+y≡3⋅12=36≡13(mod23).

Hence we need the number of pairs (x,y)(x,y)(x,y) with 1≤x,y≤50,x+y≡13(mod23).1\le x,y\le 50, \quad x+y\equiv 13 \pmod{23}.1≤x,y≤50,x+y≡13(mod23).


  1. Count residues of xxx and yyy modulo 23

The numbers 111 to 505050 distributed modulo 232323 are:

  • residues 1,2,3,41,2,3,41,2,3,4 occur 333 times each,
  • residues 5,6,…,22,05,6,\dots,22,05,6,…,22,0 occur 222 times each.

Reason: since 50=23⋅2+4,50=23\cdot 2+4,50=23⋅2+4, each residue appears at least 222 times, and the first 444 residues (1,2,3,41,2,3,41,2,3,4) appear one extra time.

Let f(r)f(r)f(r) be the count of numbers in {1,2,…,50}\{1,2,\dots,50\}{1,2,…,50} congruent to r(mod23)r \pmod{23}r(mod23). Then f(1)=f(2)=f(3)=f(4)=3,f(1)=f(2)=f(3)=f(4)=3,f(1)=f(2)=f(3)=f(4)=3, and for all other residues, f(r)=2.f(r)=2.f(r)=2.


  1. Required residue pairing

We need x+y≡13(mod23).x+y \equiv 13 \pmod{23}.x+y≡13(mod23).

For each residue rrr of xxx, residue of yyy must be 13−r(mod23)13-r \pmod{23}13−r(mod23). So total number of pairs is ∑r=022f(r)f(13−r).\sum_{r=0}^{22} f(r)f(13-r).∑r=022​f(r)f(13−r).

Now compute systematically.

Special residues with frequency 333 are 1,2,3,41,2,3,41,2,3,4. Their matching residues are:

  • r=1⇒13−r=12r=1 \Rightarrow 13-r=12r=1⇒13−r=12 with frequency 222
  • r=2⇒11r=2 \Rightarrow 11r=2⇒11 with frequency 222
  • r=3⇒10r=3 \Rightarrow 10r=3⇒10 with frequency 222
  • r=4⇒9r=4 \Rightarrow 9r=4⇒9 with frequency 222

Contribution from these 4 residues: 4×(3⋅2)=24.4\times (3\cdot 2)=24.4×(3⋅2)=24.

Now check if any target residue among 13−r13-r13−r is also in {1,2,3,4}\{1,2,3,4\}{1,2,3,4}. That happens when:

  • 13−r=4⇒r=913-r=4 \Rightarrow r=913−r=4⇒r=9
  • 13−r=3⇒r=1013-r=3 \Rightarrow r=1013−r=3⇒r=10
  • 13−r=2⇒r=1113-r=2 \Rightarrow r=1113−r=2⇒r=11
  • 13−r=1⇒r=1213-r=1 \Rightarrow r=1213−r=1⇒r=12

So residues r=9,10,11,12r=9,10,11,12r=9,10,11,12 each contribute 2⋅3=6,2\cdot 3=6,2⋅3=6, for total 4×6=24.4\times 6=24.4×6=24.

All remaining 23−8=1523-8=1523−8=15 residues pair with residues of frequency 222, so each contributes 2⋅2=4.2\cdot 2=4.2⋅2=4. Thus contribution is 15×4=60.15\times 4=60.15×4=60.

Therefore total number of pairs is 24+24+60=108.24+24+60=108.24+24+60=108.


  1. Match with options

The required number of ways is 108.\boxed{108}.108​.

So the correct option is:

  • C: 108

  1. Comparison with stored answer

Stored correct answer: C

Our derived answer: C (108)

They match.

PreviousNext

More from Permutations and Combinations

  • The number of seven digits odd numbers, that can be formed using all the seven digits 1, 2, 2, 2, 3, 3, 5 is ​.2023 · Numerical
  • Let 5 digit numbers be constructed using the digits 0,2,3,4,7,9 with repetition allowed, and are arranged in ascending order with serial numbers. Then the serial number of the number 42923 is ​.2023 · Numerical
  • Number of 4-digit numbers that are less than or equal to 2800 and either divisible by 3 or by 11 , is equal to ​.2023 · Numerical
  • Let A=[aij​],aij​∈Z∩[0,4],1≤i,j≤2. The number of matrices A such that the sum of all entries is a prime number p∈(2,13) is ​.2023 · Numerical
  • If 2n+1Pn−1​:2n−1Pn​=11:21, then n2+n+15 is equal to :2023 · Numerical
  • In an examination, there are 5 multiple choice questions with 3 choices, out of which exactly one is correct. There are 3 marks for each correct answer, − 2 marks for each wrong answer and 0 mark if the question is not attempted. Then,…2022 · Numerical
  • The number of 7-digit numbers which are multiples of 11 and are formed using all the digits 1, 2, 3, 4, 5, 7 and 9 is ​.2022 · Numerical
  • The letters of the word 'MANKIND' are written in all possible orders and arranged in serial order as in an English dictionary. Then the serial number of the word 'MANKIND' is ​.2022 · Numerical