Solveeit Logo

Question

Question: A person is permitted to select at least one and at most n coins from a collection of (2n + 1) disti...

A person is permitted to select at least one and at most n coins from a collection of (2n + 1) distinct coins. If the total number of ways in which he can select coins is 255, then n equals

A

4

B

8

C

16

D

32

Answer

4

Explanation

Solution

Since the person allowed to select at most n coins out of (2n + 1) coins, therefore in order to select one, two, three, .............,n coins. Thus if T is the total number of ways of selecting one coin, then

T = 2n+1 C1 + 2n+1C2 + ............+ 2n+1Cn = 255

Again the sum of binomial coefficients

= 2n+1C0 + 2n+1C1 + 2n+1C2 + ........+ 2n+1Cn + 2n+1Cn+1 + 2n+1Cn+2 + ..........+ 2n+1C2n+1 = (1 + 1)2n+1 = 22n+1

2n+1C0 + 2(2n+1C1 + 2n+1C2 + .........+ 2n+1Cn) + 2n+1C2n+1

= 22n+1

⇒ 1 + 2(T) + 1 = 22n+1 ⇒ 1 + T = 22n+12=22n\frac{2^{2n + 1}}{2} = 2^{2n}

⇒ 1 + 255 = 22n ⇒ 22n = 28 ⇒ n = 4.