Answer:

Step-by-step explanation:
Each and every flip of our coin has two possible outcomes on the whole: it is either the heads or the tails. Besides, it resembles the bit in computing, right? Indeed, it has two options likewise: it can be either
or
. For now on I suggest thinking neither in heads nor in tails, but in bits. Suppose the heads is
, the tails is
. Let us slightly simplify the condition, namely: suppose that the number of flips is
. Then, our possible outcomes:

Take a look at the first number. In case it is
, we have
outcomes because we can put either
or
not only on the second place, yet also on the third one. Abiding by the same logic, we also have
outcomes when the first one is
. In mathematics:
outcomes.
As for the initial condition, it does not globally differ from our simplification, it just has more flips, hence it is not just a walk in the park to list all the possible outcomes anymore in this case, it is time-consuming otherwise. Even though, it is still not a big deal to count it:
outcomes.