Clear Notion Academy

Permutations and Combinations (Beyond Advanced) Practice: How many 4 -element subsets of 1,2, ,12 do not contain three consecutive integers (that…

Question

How many 44-element subsets of {1,2,…,12}\{1,2,\ldots,12\} do not contain three consecutive integers (that is, no xx with x,x+1,x+2x,x+1,x+2 all in the subset)?

Options

  1. 405405
  2. 495495
  3. 414414
  4. 396396

Answer

Correct option: C

Hint

Count the bad subsets, but beware of counting a subset with four consecutive integers twice.

Solution

Total subsets: (124)=495\binom{12}{4}=495. A bad subset contains a run x,x+1,x+2x,x+1,x+2 for some x∈{1,…,10}x\in\{1,\ldots,10\}. For each of the 1010 runs, the fourth element can be any of the other 99 numbers: 9090 pairs (run, extra element). A subset such as {x,x+1,x+2,x+3}\{x,x+1,x+2,x+3\} contains two runs (xx and x+1x+1), so it was counted twice. There are 99 such subsets, so the number of distinct bad subsets is 90−9=8190-9=81. Answer 495−81=414495-81=414. Using 495−90495-90 gives 405405, and subtracting the doubly counted 99 sets instead of adding them back gives 495−90−9=396495-90-9=396.

More questions from Permutations and Combinations (Beyond Advanced) Practice

Practise the full set: Permutations and Combinations — Beyond Advanced