1 4 chairs arranged in a line. Let T k denote the number of ways to choose k chairs from them such that no two of the chosen chairs are consecutive. Evaluate: k = 0 ∑ 1 4 T k Try to generalize for n chairs.
There areImage Credit : Origin Furniture
EDIT : I'm very sorry as there was a problem in the problem (!!!), fixed!!! :D
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.
My reaction after they said that my answer is wrong: -_-
My reaction after reading the 'edit': -_-
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
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.
Yeto kamal ho gaya!!!
I thought the answer is over 32 billion =="
The problem is asking for the number of subsets of 1 4 chairs such that no two chairs in the subset are next to each other.
Let s n be the number of such subsets of 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 ways to construct the rest of the subset.
If the subset does not contain the first chair, then there are s n − 1 ways to choose a subset of the remaining chairs.
Therefore, s n = s n − 2 + s n − 1 . Moreover, s 0 = 1 and s 1 = 2 . We immediately recognize this as the Fibonacci sequence, with s n = F n + 2 ; in particular, s 1 4 = F 1 6 = 9 8 7 . (Alternatively, we can use the recursion directly to compute everything up to F 1 6 .)
Problem Loading...
Note Loading...
Set Loading...
Let's deal with the generalized form first. Suppose we have n chairs arranged in a row. Keep in mind that we can't choose two consecutive chairs. Let P ( n ) denote the number of ways to choose two chairs as the question says, in case of 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 more chairs and we can choose two chairs from them satisfying the question in 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 more chairs and we can choose two chairs from them satisfying the question in P ( n − 2 ) ways.
In total, we have the following:
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 , 1 3 , 2 1 , 3 4 , 5 5 , 8 9 , . . .
Note that P ( 1 ) = 2 = F 3 and P ( 2 ) = 3 = F 4 . So in general, we have:
P ( n ) = F n + 2
Where F n is the n th Fibonacci number. For a direct formula, we can use Binet's n th Fibonacci term formula: F n = 2 n 5 ( 1 + 5 ) n − ( 1 − 5 ) n
Therefore, our desired answer is:
P ( 1 4 ) = F 1 6 = 9 8 7