In how many ways can a batsman score exactly 25 runs by scoring single runs, fours and sixes only,…

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. 18
  2. 19
  3. 20
  4. 21

Solution

We need non-negative integers $s$, $f$, $x$ with $s + 4f + 6x = 25$. For $x = 0$: $4f \le 25$, $f = 0$ to $6$, giving 7 ways. For $x = 1$: $4f \le 19$, $f = 0$ to $4$, giving 5 ways. For $x = 2$: $4f \le 13$, $f = 0$ to $3$, giving 4 ways. For $x = 3$: $4f \le 7$, $f = 0$ to $1$, giving 2 ways. For $x = 4$: $4f \le 1$, $f = 0$, giving 1 way. Total $= 7 + 5 + 4 + 2 + 1 = 19$.

Asked in: CSAT 2023

Practice more Basic Numeracy questions on Aicharya