Final answer:
In a sequence of 20 coin flips, there are 1,048,576 possible sequences. There are 15,504 sequences with exactly 5 heads. There are 211 sequences with at most 2 heads. There are 1,048,365 sequences with at least three heads.
Step-by-step explanation:
(a) To calculate the number of possible sequences of heads and tails, we use the fundamental counting principle. Since each coin toss has 2 possible outcomes (heads or tails), the total number of sequences for flipping 20 coins is 2^20 = 1,048,576 possible sequences.
(b) To determine the number of sequences with exactly 5 heads, we use the combination formula nCk. For 5 heads, there are 20 choose 5 = 15504 possible sequences.
(c) To find the number of different sequences with at most 2 heads, we can count the sequences with 0, 1, or 2 heads. For 0 heads, there is 1 sequence. For 1 head, there are 20 sequences. For 2 heads, there are 20 choose 2 = 190 possible sequences. So, the total number of sequences with at most 2 heads is 1 + 20 + 190 = 211 sequences.
(d) To calculate the number of sequences with at least three heads, we can subtract the number of sequences with 0, 1, and 2 heads from the total number of sequences. So, the number of sequences with at least 3 heads is 1,048,576 - (1 + 20 + 190) = 1,048,365 sequences.