# Difference between revisions of "2011 AIME I Problems/Problem 12"

## Problem

Six men and some number of women stand in a line in random order. Let $p$ be the probability that a group of at least four men stand together in the line, given that every man stands next to at least one other man. Find the least number of women in the line such that $p$ does not exceed 1 percent.

## Solution

Let $n$ be the number of women present, and let _ be some positive number of women between groups of men. Since the problem states that every man stands next to another man, there cannot be isolated men. Thus, there are five cases to consider, where $(k)$ refers to a consecutive group of $k$ men:

```_(2)_(2)_(2)_
```
```_(3)_(3)_
```
```_(2)_(4)_
```
```_(4)_(2)_
```
```_(6)_
```

For the first case, we can place the three groups of men in between women. We can think of the groups of men as dividers splitting up the $n$ women. Since there are $n+1$ possible places to insert the dividers, and we need to choose any three of these locations, we have $\dbinom{n+1}{3}$ ways.

The second, third, and fourth cases are like the first, only that we need to insert two dividers among the $n+1$ possible locations. Each gives us $\dbinom{n+1}{2}$ ways, for a total of $3\dbinom{n+1}{2}$ ways.

The last case gives us $\dbinom{n+1}{1}=n+1$ ways.

Therefore, the total number of possible ways where there are no isolated men is

$\[\dbinom{n+1}{3}+3\dbinom{n+1}{2}+(n+1).\]$

The total number of ways where there is a group of at least four men together is the sum of the third, fourth, and fifth case, or

$\[2\dbinom{n+1}{2}+(n+1).\]$

Thus, we want to find the minimum possible value of $n$ where $n$ is a positive integer such that

$\[\dfrac{2\dbinom{n+1}{2}+(n+1)}{\dbinom{n+1}{3}+3\dbinom{n+1}{2}+(n+1)}\le\dfrac{1}{100}.\]$

After simplification, we arrive at $\[\dfrac{6(n+1)}{n^2+8n+6}\le\dfrac{1}{100}.\]$

Simplifying again, we see that we seek the smallest positive integer value of $n$ such that $n(n-592)\ge594$. Clearly $n>592$, or the left side will not even be positive; we quickly see that $n=593$ is too small but $n=\boxed{594}$ satisfies the inequality.