Skip to main content.

Hint to puzzle 145: Heads and tails

Determine, in terms of n, h, and t, the possible values for the number of blocks of consecutive heads and the number of blocks of consecutive tails.  (For example, the sequence HHHTTHTHH contains three blocks of heads and two blocks of tails.)  Hence count the number of ways in which the n coins can be thus distributed.