[Math] A coin is flipped 6 times. What is the probability that heads and tails occur an equal number of times

discrete mathematicsprobability

Question from my first semester Discrete Mathematics course.

A coin is flipped 6 times. What is the probability that heads and tails occur an equal number of times?

I've figured out that there are $64$ possible outcomes ($2$ outcomes each flip, $6$ flips $= 2^6 = 64$) and that in order for there to be an equal number of heads and tails exactly $3$ heads and $3$ tails must occur.

I also think order doesn't matter, so then it would be a combination / the total possible outcomes, but I'm not sure how to set up the combination or go any further.

Thanks!

Best Answer

You need to count the arrangements for exactly 3 heads and 3 tails.

That is the permutations of $\sf HHHTTT$.

As you state in subsequent comments, that is $6!/3!^2$.