Artificial intelligent assistant

Counting ordered selection with repeats allowed You are given a sack containing $n$ red balls and $n$ blue balls. You take the balls out of the sack one by one and write down the sequence of reds and blues you get. How many sequences are possible?

HINT: A sequence is completely determined by the position in it of the $n$ red balls: once you know where they are, you also know where the blue balls are. How many different sets of $n$ positions are there in a string of $2n$ positions?

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy c7ef23870670d3172b7728788480ce7b