By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2023 CSAT, question 5

Topic: Counting and probability

Q5

In how many ways can a batsman score exactly 25 runs by scoring single runs, fours and sixes only, irrespective of the sequence of scoring shots ?

  1. (a) 18
  2. (b) 19Correct answer
  3. (c) 20
  4. (d) 21

Solution.

Answer: (b) 19

  1. Since the sequence of shots does not matter, we count non-negative integer solutions (x,y,z)(x, y, z) to x+4y+6z=25x + 4y + 6z = 25, where x,y,zx, y, z are the numbers of singles, fours and sixes.
  2. For each choice of z∈{0,1,2,3,4}z \in \{0, 1, 2, 3, 4\}, the remaining runs 25−6z25 - 6z allow yy to take any integer value from 00 up to the integer part of (25−6z)/4(25 - 6z)/4:
  3. For z=0z = 0 (2525 runs): 77 ways (y=0..6y = 0..6); z=1z = 1 (1919 runs): 55 ways (y=0..4y = 0..4); z=2z = 2 (1313 runs): 44 ways (y=0..3y = 0..3); z=3z = 3 (77 runs): 22 ways (y=0,1y = 0,1); z=4z = 4 (11 run): 11 way (y=0y = 0), totalling 7+5+4+2+1=197 + 5 + 4 + 2 + 1 = 19 ways.