Probability of finding at least $k$ consecutive heads in $N$ coin tosses?

There are at least two methods that can solve this problem. Both are discussed in detail in this question: https://stats.stackexchange.com/questions/21825/probability-over-multiple-blocks-of-events