Tessellate S.T.E.M.S - Mathematics - College - Set 2 - Problem 5

There are 16 16 books on a shelf, the 16 16 parts of a series in order. A set of books picked out of these is g o o d good if

1. 1. no two consecutive books are picked, and

2. 2. no four consecutive books are left on the shelf.

How many g o o d good sets containing exactly 5 5 books can be picked from the shelf?


This problem is a part of Tessellate S.T.E.M.S.

220 110 330 440

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

Nicola Mignoni
Feb 28, 2018

Let's consider C o m b ( A ) Comb(A) the set of all the ( 16 5 ) {16}\choose{5} possible combinations with no repetition of A = { 1 , . . . , 16 } A=\{1,...,16\} . The g o o d good sets are ( a 1 , . . . , a 5 ) C o m b ( A ) (a_1,...,a_5)\in Comb(A) such that a 1 [ 1 , 2 , 3 , 4 ] a_1 \in [1,2,3,4] , a 5 [ 13 , 14 , 15 , 16 ] a_5\in [13,14,15,16] and 1 < a k a k 1 4 1< a_k-a_{k-1} \leq 4 , k { 2 , 3 , 4 } k \in \{2,3,4\} . With such condition, it's possible to code an algorithm to count all possible occurrences.

Patrick Corn
Jan 2, 2018

The answer is the coefficient of x 11 x^{11} in the product ( 1 + x + x 2 + x 3 ) ( x + x 2 + x 3 ) 4 ( 1 + x + x 2 + x 3 ) . (1+x+x^2+x^3)(x+x^2+x^3)^4(1+x+x^2+x^3). The first polynomial and the last polynomial represent the choices of a number of books before the first book in the set, and a number of books after the last book in the set, respectively; the middle polynomial represents the four choices for the numbers of books in between each pair of books in the set (there is no constant term because the set cannot contain consecutive books).

Simplifying a bit, this is the coefficient of x 7 x^7 in the product ( 1 + x + x 2 + x 3 ) 2 ( 1 + x + x 2 ) 3 . (1+x+x^2+x^3)^2(1+x+x^2)^3. To be honest, I just multiplied this out using a computer algebra package. Perhaps there is a fancy way to do it. Anyway, I got 220. 220.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...