Length-$8$ rearrangements of AABBCCDD with pairs AA, BB, CC adjacent












3












$begingroup$


I am doing bigger task from combinatorics and stuck at this sub-problem:




Find number of words which every letter A, B, C, D occurs exactly 2 times and exactly 3 pairs of same letters occurs on neighbouring positions




Ok, my approach was just writing some cases and trying to find some rules for that. But I find interesting way to do this without big explanation and I am not sure why it works



Solution



$$ binom{4}{3}underbrace{binom{5}{1}}_{text{AA}}underbrace{binom{4}{1}}_{text{BB}}underbrace{binom{3}{1}}_{text{CC}} $$



My current understanding



$binom{4}{3} $ - we choose 3 types of letters from 4 available
$underbrace{binom{5}{1}}_{text{AA}}$ we choose... position for (for example) $A$, probably i'th place and we put to $(i,i+1)$ first letter. But why it is
$$ underbrace{binom{5}{1}}_{text{AA}}$$
And not $$ underbrace{binom{7}{1}}_{text{AA}}$$
Can somebody explain me this approach? It seems interesting and really smart.










share|cite|improve this question











$endgroup$












  • $begingroup$
    We have five objects to arrange. In your example, they are AA, BB, CC, D, D. However, the posted solution does not account for the requirement that exactly $3$ pairs of identical letters are in neighboring positions.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:14












  • $begingroup$
    @N.F.Taussig That's an answer. Why are you posting it in the comment section?
    $endgroup$
    – Arthur
    Mar 30 at 11:18












  • $begingroup$
    @Arthur I am questioning the posted solution.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:18






  • 1




    $begingroup$
    This solution follows from math.stackexchange.com/a/1828004/617243 I have solved singles, and pairs on my own, but stucked on triples (too many cases to just write them all) and seen linked solution.
    $endgroup$
    – VirtualUser
    Mar 30 at 11:25


















3












$begingroup$


I am doing bigger task from combinatorics and stuck at this sub-problem:




Find number of words which every letter A, B, C, D occurs exactly 2 times and exactly 3 pairs of same letters occurs on neighbouring positions




Ok, my approach was just writing some cases and trying to find some rules for that. But I find interesting way to do this without big explanation and I am not sure why it works



Solution



$$ binom{4}{3}underbrace{binom{5}{1}}_{text{AA}}underbrace{binom{4}{1}}_{text{BB}}underbrace{binom{3}{1}}_{text{CC}} $$



My current understanding



$binom{4}{3} $ - we choose 3 types of letters from 4 available
$underbrace{binom{5}{1}}_{text{AA}}$ we choose... position for (for example) $A$, probably i'th place and we put to $(i,i+1)$ first letter. But why it is
$$ underbrace{binom{5}{1}}_{text{AA}}$$
And not $$ underbrace{binom{7}{1}}_{text{AA}}$$
Can somebody explain me this approach? It seems interesting and really smart.










share|cite|improve this question











$endgroup$












  • $begingroup$
    We have five objects to arrange. In your example, they are AA, BB, CC, D, D. However, the posted solution does not account for the requirement that exactly $3$ pairs of identical letters are in neighboring positions.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:14












  • $begingroup$
    @N.F.Taussig That's an answer. Why are you posting it in the comment section?
    $endgroup$
    – Arthur
    Mar 30 at 11:18












  • $begingroup$
    @Arthur I am questioning the posted solution.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:18






  • 1




    $begingroup$
    This solution follows from math.stackexchange.com/a/1828004/617243 I have solved singles, and pairs on my own, but stucked on triples (too many cases to just write them all) and seen linked solution.
    $endgroup$
    – VirtualUser
    Mar 30 at 11:25
















3












3








3





$begingroup$


I am doing bigger task from combinatorics and stuck at this sub-problem:




Find number of words which every letter A, B, C, D occurs exactly 2 times and exactly 3 pairs of same letters occurs on neighbouring positions




Ok, my approach was just writing some cases and trying to find some rules for that. But I find interesting way to do this without big explanation and I am not sure why it works



Solution



$$ binom{4}{3}underbrace{binom{5}{1}}_{text{AA}}underbrace{binom{4}{1}}_{text{BB}}underbrace{binom{3}{1}}_{text{CC}} $$



My current understanding



$binom{4}{3} $ - we choose 3 types of letters from 4 available
$underbrace{binom{5}{1}}_{text{AA}}$ we choose... position for (for example) $A$, probably i'th place and we put to $(i,i+1)$ first letter. But why it is
$$ underbrace{binom{5}{1}}_{text{AA}}$$
And not $$ underbrace{binom{7}{1}}_{text{AA}}$$
Can somebody explain me this approach? It seems interesting and really smart.










share|cite|improve this question











$endgroup$




I am doing bigger task from combinatorics and stuck at this sub-problem:




Find number of words which every letter A, B, C, D occurs exactly 2 times and exactly 3 pairs of same letters occurs on neighbouring positions




Ok, my approach was just writing some cases and trying to find some rules for that. But I find interesting way to do this without big explanation and I am not sure why it works



Solution



$$ binom{4}{3}underbrace{binom{5}{1}}_{text{AA}}underbrace{binom{4}{1}}_{text{BB}}underbrace{binom{3}{1}}_{text{CC}} $$



My current understanding



$binom{4}{3} $ - we choose 3 types of letters from 4 available
$underbrace{binom{5}{1}}_{text{AA}}$ we choose... position for (for example) $A$, probably i'th place and we put to $(i,i+1)$ first letter. But why it is
$$ underbrace{binom{5}{1}}_{text{AA}}$$
And not $$ underbrace{binom{7}{1}}_{text{AA}}$$
Can somebody explain me this approach? It seems interesting and really smart.







combinatorics discrete-mathematics combinations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 30 at 14:19









user21820

40.1k544162




40.1k544162










asked Mar 30 at 11:09









VirtualUserVirtualUser

1,326317




1,326317












  • $begingroup$
    We have five objects to arrange. In your example, they are AA, BB, CC, D, D. However, the posted solution does not account for the requirement that exactly $3$ pairs of identical letters are in neighboring positions.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:14












  • $begingroup$
    @N.F.Taussig That's an answer. Why are you posting it in the comment section?
    $endgroup$
    – Arthur
    Mar 30 at 11:18












  • $begingroup$
    @Arthur I am questioning the posted solution.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:18






  • 1




    $begingroup$
    This solution follows from math.stackexchange.com/a/1828004/617243 I have solved singles, and pairs on my own, but stucked on triples (too many cases to just write them all) and seen linked solution.
    $endgroup$
    – VirtualUser
    Mar 30 at 11:25




















  • $begingroup$
    We have five objects to arrange. In your example, they are AA, BB, CC, D, D. However, the posted solution does not account for the requirement that exactly $3$ pairs of identical letters are in neighboring positions.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:14












  • $begingroup$
    @N.F.Taussig That's an answer. Why are you posting it in the comment section?
    $endgroup$
    – Arthur
    Mar 30 at 11:18












  • $begingroup$
    @Arthur I am questioning the posted solution.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 11:18






  • 1




    $begingroup$
    This solution follows from math.stackexchange.com/a/1828004/617243 I have solved singles, and pairs on my own, but stucked on triples (too many cases to just write them all) and seen linked solution.
    $endgroup$
    – VirtualUser
    Mar 30 at 11:25


















$begingroup$
We have five objects to arrange. In your example, they are AA, BB, CC, D, D. However, the posted solution does not account for the requirement that exactly $3$ pairs of identical letters are in neighboring positions.
$endgroup$
– N. F. Taussig
Mar 30 at 11:14






$begingroup$
We have five objects to arrange. In your example, they are AA, BB, CC, D, D. However, the posted solution does not account for the requirement that exactly $3$ pairs of identical letters are in neighboring positions.
$endgroup$
– N. F. Taussig
Mar 30 at 11:14














$begingroup$
@N.F.Taussig That's an answer. Why are you posting it in the comment section?
$endgroup$
– Arthur
Mar 30 at 11:18






$begingroup$
@N.F.Taussig That's an answer. Why are you posting it in the comment section?
$endgroup$
– Arthur
Mar 30 at 11:18














$begingroup$
@Arthur I am questioning the posted solution.
$endgroup$
– N. F. Taussig
Mar 30 at 11:18




$begingroup$
@Arthur I am questioning the posted solution.
$endgroup$
– N. F. Taussig
Mar 30 at 11:18




1




1




$begingroup$
This solution follows from math.stackexchange.com/a/1828004/617243 I have solved singles, and pairs on my own, but stucked on triples (too many cases to just write them all) and seen linked solution.
$endgroup$
– VirtualUser
Mar 30 at 11:25






$begingroup$
This solution follows from math.stackexchange.com/a/1828004/617243 I have solved singles, and pairs on my own, but stucked on triples (too many cases to just write them all) and seen linked solution.
$endgroup$
– VirtualUser
Mar 30 at 11:25












2 Answers
2






active

oldest

votes


















3












$begingroup$

The count you gave from the linked question is for at least three pairs of identical letters in adjacent positions in an Inclusion-Exclusion Principle argument.



There are $binom{4}{3}$ ways of choosing which three pairs of identical letters are in adjacent positions. Suppose, as in your example, they are AA, BB, and CC. Then we have five objects to arrange. They are AA, BB, CC, D, and D. The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. The Ds must be placed in the remaining two positions. That gives the count
$$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1}$$
you found in the linked problem. Notice, however, that this includes arrangements such as
$$AADDCCBB$$
in which there are four pairs of adjacent identical letters. There are $4!$ such arrangements for each of the $binom{4}{3}$ ways we could designate three of the four pairs as the three identical pairs. Hence, the number of arrangements with exactly three pairs of adjacent identical letters is
$$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1} - binom{4}{3}4!$$



Another way to see this is to choose three of the four letters to be the adjacent identical pairs, which can be done in $binom{4}{3}$ ways. The chosen pairs can be arranged in $3!$ ways. This creates four spaces, two between successive pairs and two at the ends of the row. For instance, suppose the chosen pairs are AA, BB, and CC. Then
$$square AA square BB square CC square$$
is one possible arrangement. To ensure that the remaining two identical letters are separated, we must choose two of the four spaces in which to place the remaining letter. Thus, the number of arrangements of A, A, B, B, C, C, D, D with exactly three pairs of adjacent identical letters is
$$binom{4}{3}3!binom{4}{2}$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I understand your second way but still can' realize why The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. I have $AA$ to put and 8 slots. I choose $i$ on $binom{7}{1} $ ways and put $AA$ to $(i,i+1)$
    $endgroup$
    – VirtualUser
    Mar 30 at 11:53










  • $begingroup$
    As I said, we have five objects to arrange: AA, BB, CC, D, D. Thus, we have five positions to fill. If we place AA first, then we have five ways we can place it.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 12:00










  • $begingroup$
    Ok, so you treat these object as single letter? For example $AA$ is just one block, also $BB$ and others. That's why we think about $8$-length word as about $text{size of block AA}+ text{size of block BB} + text{size of block CC} + 2* text{size of block D}$ length word?
    $endgroup$
    – VirtualUser
    Mar 30 at 12:03












  • $begingroup$
    That is correct.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 14:32










  • $begingroup$
    Okay, thanks for explanation
    $endgroup$
    – VirtualUser
    Mar 30 at 15:35



















2












$begingroup$

There are $4$ choices for the nonconsecutive letter.



Let's examine the case where $DD$ does not occur.



There are $3!$ orders of the sort: $$cdot AAcdot BBcdot CCcdot$$ where $2$ of the dots must be filled in with a letter $D$.



So there are $binom42$ possibilities for placing the letters $D$.



So we arrive at:$$4times3!timesbinom42=4times6times6=144$$solutions.






share|cite|improve this answer









$endgroup$














    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3168176%2flength-8-rearrangements-of-aabbccdd-with-pairs-aa-bb-cc-adjacent%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3












    $begingroup$

    The count you gave from the linked question is for at least three pairs of identical letters in adjacent positions in an Inclusion-Exclusion Principle argument.



    There are $binom{4}{3}$ ways of choosing which three pairs of identical letters are in adjacent positions. Suppose, as in your example, they are AA, BB, and CC. Then we have five objects to arrange. They are AA, BB, CC, D, and D. The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. The Ds must be placed in the remaining two positions. That gives the count
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1}$$
    you found in the linked problem. Notice, however, that this includes arrangements such as
    $$AADDCCBB$$
    in which there are four pairs of adjacent identical letters. There are $4!$ such arrangements for each of the $binom{4}{3}$ ways we could designate three of the four pairs as the three identical pairs. Hence, the number of arrangements with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1} - binom{4}{3}4!$$



    Another way to see this is to choose three of the four letters to be the adjacent identical pairs, which can be done in $binom{4}{3}$ ways. The chosen pairs can be arranged in $3!$ ways. This creates four spaces, two between successive pairs and two at the ends of the row. For instance, suppose the chosen pairs are AA, BB, and CC. Then
    $$square AA square BB square CC square$$
    is one possible arrangement. To ensure that the remaining two identical letters are separated, we must choose two of the four spaces in which to place the remaining letter. Thus, the number of arrangements of A, A, B, B, C, C, D, D with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}3!binom{4}{2}$$






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      I understand your second way but still can' realize why The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. I have $AA$ to put and 8 slots. I choose $i$ on $binom{7}{1} $ ways and put $AA$ to $(i,i+1)$
      $endgroup$
      – VirtualUser
      Mar 30 at 11:53










    • $begingroup$
      As I said, we have five objects to arrange: AA, BB, CC, D, D. Thus, we have five positions to fill. If we place AA first, then we have five ways we can place it.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 12:00










    • $begingroup$
      Ok, so you treat these object as single letter? For example $AA$ is just one block, also $BB$ and others. That's why we think about $8$-length word as about $text{size of block AA}+ text{size of block BB} + text{size of block CC} + 2* text{size of block D}$ length word?
      $endgroup$
      – VirtualUser
      Mar 30 at 12:03












    • $begingroup$
      That is correct.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 14:32










    • $begingroup$
      Okay, thanks for explanation
      $endgroup$
      – VirtualUser
      Mar 30 at 15:35
















    3












    $begingroup$

    The count you gave from the linked question is for at least three pairs of identical letters in adjacent positions in an Inclusion-Exclusion Principle argument.



    There are $binom{4}{3}$ ways of choosing which three pairs of identical letters are in adjacent positions. Suppose, as in your example, they are AA, BB, and CC. Then we have five objects to arrange. They are AA, BB, CC, D, and D. The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. The Ds must be placed in the remaining two positions. That gives the count
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1}$$
    you found in the linked problem. Notice, however, that this includes arrangements such as
    $$AADDCCBB$$
    in which there are four pairs of adjacent identical letters. There are $4!$ such arrangements for each of the $binom{4}{3}$ ways we could designate three of the four pairs as the three identical pairs. Hence, the number of arrangements with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1} - binom{4}{3}4!$$



    Another way to see this is to choose three of the four letters to be the adjacent identical pairs, which can be done in $binom{4}{3}$ ways. The chosen pairs can be arranged in $3!$ ways. This creates four spaces, two between successive pairs and two at the ends of the row. For instance, suppose the chosen pairs are AA, BB, and CC. Then
    $$square AA square BB square CC square$$
    is one possible arrangement. To ensure that the remaining two identical letters are separated, we must choose two of the four spaces in which to place the remaining letter. Thus, the number of arrangements of A, A, B, B, C, C, D, D with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}3!binom{4}{2}$$






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      I understand your second way but still can' realize why The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. I have $AA$ to put and 8 slots. I choose $i$ on $binom{7}{1} $ ways and put $AA$ to $(i,i+1)$
      $endgroup$
      – VirtualUser
      Mar 30 at 11:53










    • $begingroup$
      As I said, we have five objects to arrange: AA, BB, CC, D, D. Thus, we have five positions to fill. If we place AA first, then we have five ways we can place it.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 12:00










    • $begingroup$
      Ok, so you treat these object as single letter? For example $AA$ is just one block, also $BB$ and others. That's why we think about $8$-length word as about $text{size of block AA}+ text{size of block BB} + text{size of block CC} + 2* text{size of block D}$ length word?
      $endgroup$
      – VirtualUser
      Mar 30 at 12:03












    • $begingroup$
      That is correct.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 14:32










    • $begingroup$
      Okay, thanks for explanation
      $endgroup$
      – VirtualUser
      Mar 30 at 15:35














    3












    3








    3





    $begingroup$

    The count you gave from the linked question is for at least three pairs of identical letters in adjacent positions in an Inclusion-Exclusion Principle argument.



    There are $binom{4}{3}$ ways of choosing which three pairs of identical letters are in adjacent positions. Suppose, as in your example, they are AA, BB, and CC. Then we have five objects to arrange. They are AA, BB, CC, D, and D. The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. The Ds must be placed in the remaining two positions. That gives the count
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1}$$
    you found in the linked problem. Notice, however, that this includes arrangements such as
    $$AADDCCBB$$
    in which there are four pairs of adjacent identical letters. There are $4!$ such arrangements for each of the $binom{4}{3}$ ways we could designate three of the four pairs as the three identical pairs. Hence, the number of arrangements with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1} - binom{4}{3}4!$$



    Another way to see this is to choose three of the four letters to be the adjacent identical pairs, which can be done in $binom{4}{3}$ ways. The chosen pairs can be arranged in $3!$ ways. This creates four spaces, two between successive pairs and two at the ends of the row. For instance, suppose the chosen pairs are AA, BB, and CC. Then
    $$square AA square BB square CC square$$
    is one possible arrangement. To ensure that the remaining two identical letters are separated, we must choose two of the four spaces in which to place the remaining letter. Thus, the number of arrangements of A, A, B, B, C, C, D, D with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}3!binom{4}{2}$$






    share|cite|improve this answer









    $endgroup$



    The count you gave from the linked question is for at least three pairs of identical letters in adjacent positions in an Inclusion-Exclusion Principle argument.



    There are $binom{4}{3}$ ways of choosing which three pairs of identical letters are in adjacent positions. Suppose, as in your example, they are AA, BB, and CC. Then we have five objects to arrange. They are AA, BB, CC, D, and D. The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. The Ds must be placed in the remaining two positions. That gives the count
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1}$$
    you found in the linked problem. Notice, however, that this includes arrangements such as
    $$AADDCCBB$$
    in which there are four pairs of adjacent identical letters. There are $4!$ such arrangements for each of the $binom{4}{3}$ ways we could designate three of the four pairs as the three identical pairs. Hence, the number of arrangements with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}binom{5}{1}binom{4}{1}binom{3}{1} - binom{4}{3}4!$$



    Another way to see this is to choose three of the four letters to be the adjacent identical pairs, which can be done in $binom{4}{3}$ ways. The chosen pairs can be arranged in $3!$ ways. This creates four spaces, two between successive pairs and two at the ends of the row. For instance, suppose the chosen pairs are AA, BB, and CC. Then
    $$square AA square BB square CC square$$
    is one possible arrangement. To ensure that the remaining two identical letters are separated, we must choose two of the four spaces in which to place the remaining letter. Thus, the number of arrangements of A, A, B, B, C, C, D, D with exactly three pairs of adjacent identical letters is
    $$binom{4}{3}3!binom{4}{2}$$







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Mar 30 at 11:40









    N. F. TaussigN. F. Taussig

    45.2k103358




    45.2k103358












    • $begingroup$
      I understand your second way but still can' realize why The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. I have $AA$ to put and 8 slots. I choose $i$ on $binom{7}{1} $ ways and put $AA$ to $(i,i+1)$
      $endgroup$
      – VirtualUser
      Mar 30 at 11:53










    • $begingroup$
      As I said, we have five objects to arrange: AA, BB, CC, D, D. Thus, we have five positions to fill. If we place AA first, then we have five ways we can place it.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 12:00










    • $begingroup$
      Ok, so you treat these object as single letter? For example $AA$ is just one block, also $BB$ and others. That's why we think about $8$-length word as about $text{size of block AA}+ text{size of block BB} + text{size of block CC} + 2* text{size of block D}$ length word?
      $endgroup$
      – VirtualUser
      Mar 30 at 12:03












    • $begingroup$
      That is correct.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 14:32










    • $begingroup$
      Okay, thanks for explanation
      $endgroup$
      – VirtualUser
      Mar 30 at 15:35


















    • $begingroup$
      I understand your second way but still can' realize why The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. I have $AA$ to put and 8 slots. I choose $i$ on $binom{7}{1} $ ways and put $AA$ to $(i,i+1)$
      $endgroup$
      – VirtualUser
      Mar 30 at 11:53










    • $begingroup$
      As I said, we have five objects to arrange: AA, BB, CC, D, D. Thus, we have five positions to fill. If we place AA first, then we have five ways we can place it.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 12:00










    • $begingroup$
      Ok, so you treat these object as single letter? For example $AA$ is just one block, also $BB$ and others. That's why we think about $8$-length word as about $text{size of block AA}+ text{size of block BB} + text{size of block CC} + 2* text{size of block D}$ length word?
      $endgroup$
      – VirtualUser
      Mar 30 at 12:03












    • $begingroup$
      That is correct.
      $endgroup$
      – N. F. Taussig
      Mar 30 at 14:32










    • $begingroup$
      Okay, thanks for explanation
      $endgroup$
      – VirtualUser
      Mar 30 at 15:35
















    $begingroup$
    I understand your second way but still can' realize why The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. I have $AA$ to put and 8 slots. I choose $i$ on $binom{7}{1} $ ways and put $AA$ to $(i,i+1)$
    $endgroup$
    – VirtualUser
    Mar 30 at 11:53




    $begingroup$
    I understand your second way but still can' realize why The position of AA can be selected in five ways, the position of BB can be selected in four ways, and the position of CC can be selected in three ways. I have $AA$ to put and 8 slots. I choose $i$ on $binom{7}{1} $ ways and put $AA$ to $(i,i+1)$
    $endgroup$
    – VirtualUser
    Mar 30 at 11:53












    $begingroup$
    As I said, we have five objects to arrange: AA, BB, CC, D, D. Thus, we have five positions to fill. If we place AA first, then we have five ways we can place it.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 12:00




    $begingroup$
    As I said, we have five objects to arrange: AA, BB, CC, D, D. Thus, we have five positions to fill. If we place AA first, then we have five ways we can place it.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 12:00












    $begingroup$
    Ok, so you treat these object as single letter? For example $AA$ is just one block, also $BB$ and others. That's why we think about $8$-length word as about $text{size of block AA}+ text{size of block BB} + text{size of block CC} + 2* text{size of block D}$ length word?
    $endgroup$
    – VirtualUser
    Mar 30 at 12:03






    $begingroup$
    Ok, so you treat these object as single letter? For example $AA$ is just one block, also $BB$ and others. That's why we think about $8$-length word as about $text{size of block AA}+ text{size of block BB} + text{size of block CC} + 2* text{size of block D}$ length word?
    $endgroup$
    – VirtualUser
    Mar 30 at 12:03














    $begingroup$
    That is correct.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 14:32




    $begingroup$
    That is correct.
    $endgroup$
    – N. F. Taussig
    Mar 30 at 14:32












    $begingroup$
    Okay, thanks for explanation
    $endgroup$
    – VirtualUser
    Mar 30 at 15:35




    $begingroup$
    Okay, thanks for explanation
    $endgroup$
    – VirtualUser
    Mar 30 at 15:35











    2












    $begingroup$

    There are $4$ choices for the nonconsecutive letter.



    Let's examine the case where $DD$ does not occur.



    There are $3!$ orders of the sort: $$cdot AAcdot BBcdot CCcdot$$ where $2$ of the dots must be filled in with a letter $D$.



    So there are $binom42$ possibilities for placing the letters $D$.



    So we arrive at:$$4times3!timesbinom42=4times6times6=144$$solutions.






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      There are $4$ choices for the nonconsecutive letter.



      Let's examine the case where $DD$ does not occur.



      There are $3!$ orders of the sort: $$cdot AAcdot BBcdot CCcdot$$ where $2$ of the dots must be filled in with a letter $D$.



      So there are $binom42$ possibilities for placing the letters $D$.



      So we arrive at:$$4times3!timesbinom42=4times6times6=144$$solutions.






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        There are $4$ choices for the nonconsecutive letter.



        Let's examine the case where $DD$ does not occur.



        There are $3!$ orders of the sort: $$cdot AAcdot BBcdot CCcdot$$ where $2$ of the dots must be filled in with a letter $D$.



        So there are $binom42$ possibilities for placing the letters $D$.



        So we arrive at:$$4times3!timesbinom42=4times6times6=144$$solutions.






        share|cite|improve this answer









        $endgroup$



        There are $4$ choices for the nonconsecutive letter.



        Let's examine the case where $DD$ does not occur.



        There are $3!$ orders of the sort: $$cdot AAcdot BBcdot CCcdot$$ where $2$ of the dots must be filled in with a letter $D$.



        So there are $binom42$ possibilities for placing the letters $D$.



        So we arrive at:$$4times3!timesbinom42=4times6times6=144$$solutions.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 30 at 11:41









        drhabdrhab

        104k545136




        104k545136






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3168176%2flength-8-rearrangements-of-aabbccdd-with-pairs-aa-bb-cc-adjacent%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            If I really need a card on my start hand, how many mulligans make sense? [duplicate]

            Alcedinidae

            Can an atomic nucleus contain both particles and antiparticles? [duplicate]