# Thread:

1. ## Permutations of Bottles

In how many different ways can I arrange 7 green and 8 brown bottles so that exactly one pair of green bottles are side by side?

I've been trying to do this all day, am I right for separating the answers into 14 cases of where the 2 green bottles can be across 15 places?

2. Hello, mixtapevanity!

In how many different ways can I arrange 7 green and 8 brown bottles
so that exactly one pair of green bottles are side by side?
Duct-tape two green bottles together.

Now we have 14 units to arrange:
. . $\boxed{GG}\,, G, G, G, G, G, B, B, B, B, B, B,B,B$

Now place the eight brown bottles in a row.
. . Note that there are spaces before, after and between them.

. . . $\_\,B\,\_\,B\,\_\,B\,\_\,B\,\_\,B\,\_\,B\,\_\,B\,\ _\,B\,\_$

We will take the six green units and place them in six of the nine spaces.

And there are: . ${8\choose6} \:=\:\boxed{84}$ ways.

3. Thanks for your reply! That is along the lines of what I was thinking. But can I ask what did you mean by (8 6) = 84?

4. That is a mere typo. It should be $\binom{9}{6}=84$
Nine blanks choosing six can be done in 84 ways.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 4, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9373209476470947, "perplexity_flag": "middle"}