ELI5: Explain Like I'm 5

Bracelet (combinatorics)

Alright kiddo, let's talk about bracelets in combinatorics! Imagine you have a bunch of toys, let's say some different colored beads, and you want to arrange them in a circle to make a pretty bracelet. The thing is, you don't care about the order of the beads, you just care about the colors that are next to each other.

For example, let's say you have three red beads, two blue beads, and one green bead. You could make a bracelet like this:

RRRBBG

or like this:

BBRRRG

Notice that the beads are in a circle, but the order isn't exactly the same. However, in both bracelets, the colors are next to each other in the same way. This is what combinatorics is all about - figuring out how many different ways you can arrange things while still keeping some things the same.

Now let's say you have a whole bunch of beads in different colors, and you want to know how many different bracelets you can make with all of them. This can get pretty complicated, especially if you have a lot of beads, but we can use some tricks to help us out.

One trick is to think about the symmetry of the bracelet. A bracelet is symmetric if you can flip it over and it looks the same. For example, this bracelet is symmetric:

RRBBGG

because you can flip it over to get:

GGBBRR

and it's still the same. On the other hand, this bracelet is not symmetric:

RRBBBG

because if you flip it over, you get:

GBBBRR

which is different.

So how does this help us count bracelets? Well, let's say you have n beads of different colors, and you want to know how many symmetric bracelets you can make with them. First, you can imagine that one of the beads is at the top of the circle (like the hook on a real bracelet). Now you can start adding the other beads one by one, going clockwise around the circle.

As you add each bead, think about whether it's the same color as the one opposite it (on the other side of the circle). If it is, you have two choices - you can put the new bead next to the old one, or you can skip a spot and put it next to the one two spots over. If the new bead is a different color, you only have one choice - put it next to the old bead.

For example, let's say you have four beads - two red and two blue. You can start with a red bead at the top, and then add the others clockwise:

R

R
R

R
R B

R B
R B

Now you have two choices - you can either add another blue bead next to the first one, or you can skip a spot and add it next to the first red bead. Let's say you add it next to the red bead:

R B
R B R

Now you have to add the last bead. It's blue, so you have to put it next to the red bead:

R B R B

And there you have it - one symmetric bracelet! But wait, there's more. Remember that we only counted the symmetric bracelets. What about the ones that aren't symmetric? Well, we can count those too, but it's a little trickier.

We can still start with a bead at the top, but now we don't care about whether the bracelet is symmetric or not. We just add the beads one by one, using the same rules as before. But now we have to be careful - if we've already counted a bracelet that's the same as the one we're making, we need to skip it.

For example, let's say we have three beads - two red and one blue. If we start with a red bead at the top, we can make these bracelets:

R
R
R B

R B
R
R

R
R B
R

R B
R
R B

Notice that the last two bracelets are the same - they have the same colors, in the same order, but they start with a different bead at the top. We only count one of them.

Phew, that was a lot of explaining! But hopefully now you understand a little more about bracelets in combinatorics. It's all about figuring out how many different ways you can arrange things, while still keeping some things the same (like the colors next to each other in a circle). And by thinking about symmetry, we can make things a little easier. Keep practicing, and someday you'll be a combinatorics expert!