So Many Chairs, No???

Level pending

There are 14 14 chairs arranged in a line. Let T k T_k denote the number of ways to choose k k chairs from them such that no two of the chosen chairs are consecutive. Evaluate: k = 0 14 T k \sum_{k=0}^{14} T_k Try to generalize for n n chairs.

Image Credit : Origin Furniture

EDIT : I'm very sorry as there was a problem in the problem (!!!), fixed!!! :D


The answer is 987.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Jubayer Nirjhor
Feb 4, 2014

Let's deal with the generalized form first. Suppose we have n n chairs arranged in a row. Keep in mind that we can't choose two consecutive chairs. Let P ( n ) P(n) denote the number of ways to choose two chairs as the question says, in case of n n chairs. We'll now divide the counting process into two sub-cases.

Firstly, we count the number of ways when we don't choose the first chair in the line. So we are left with n 1 n-1 more chairs and we can choose two chairs from them satisfying the question in P ( n 1 ) P(n-1) ways.

Lastly, we count the number of ways when we do choose the first chair. So clearly we can't choose the second chair since that would be two consecutive chairs. Hence, we are left with n 2 n-2 more chairs and we can choose two chairs from them satisfying the question in P ( n 2 ) P(n-2) ways.

In total, we have the following:

P ( n ) = P ( n 1 ) + P ( n 2 ) P(n)=P(n-1)+P(n-2)

The above recursion looks familiar, doesn't it? It's the definition of the famous Fibonacci Sequence:

1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 , 55 , 89 , . . . 1,1,2,3,5,8,13,21,34,55,89,...

Note that P ( 1 ) = 2 = F 3 P(1)=2=F_{3} and P ( 2 ) = 3 = F 4 P(2)=3=F_{4} . So in general, we have:

P ( n ) = F n + 2 P(n)=F_{n+2}

Where F n F_n is the n n th Fibonacci number. For a direct formula, we can use Binet's n n th Fibonacci term formula: F n = ( 1 + 5 ) n ( 1 5 ) n 2 n 5 F_n=\dfrac{(1+\sqrt5)^n-(1-\sqrt5)^n}{2^n\sqrt5}

Therefore, our desired answer is:

P ( 14 ) = F 16 = 987 P(14)=F_{16}=\fbox{987}

My reaction after they said that my answer is wrong: -_-

My reaction after reading the 'edit': -_-

Mursalin Habib - 7 years, 4 months ago

Log in to reply

My reaction after reading the 'edit': -_-

y? :p btw, did u participate in the regional math olympiad? and did u launch the dispute?

fun fact: the number of chairs = my age :p

Jubayer Nirjhor - 7 years, 4 months ago

Log in to reply

did u participate in the regional math olympiad?

I don't want to talk about it :( Erm... Murphy's law happened.

Mursalin Habib - 7 years, 4 months ago

Yeto kamal ho gaya!!!

Nayeemul Islam Swad - 7 years, 4 months ago

Log in to reply

O.o

Fatin Farhan - 7 years, 4 months ago

I thought the answer is over 32 billion =="

Haseo Yonsatron - 7 years, 4 months ago
Caleb Stanford
Feb 4, 2014

The problem is asking for the number of subsets of 14 14 chairs such that no two chairs in the subset are next to each other.

Let s n s_n be the number of such subsets of n n chairs. Such a subset will either contain the first chair, or not.

  • If the subset contains the first chair, then it can't contain the second chair. Thus there will be s n 2 s_{n-2} ways to construct the rest of the subset.

  • If the subset does not contain the first chair, then there are s n 1 s_{n-1} ways to choose a subset of the remaining chairs.

Therefore, s n = s n 2 + s n 1 s_n = s_{n-2} + s_{n-1} . Moreover, s 0 = 1 s_0 = 1 and s 1 = 2 s_1 = 2 . We immediately recognize this as the Fibonacci sequence, with s n = F n + 2 s_n = F_{n+2} ; in particular, s 14 = F 16 = 987 s_{14} = F_{16} = \boxed{987} . (Alternatively, we can use the recursion directly to compute everything up to F 16 F_{16} .)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...