Can we use Bernaulli's Trial to solve N consecutive heads problem?

Mathematics and Number theory