Coin flip probability

Ok im taking a video game desing class. I have to answer the question if i flip a coin 10 time what is the probability of it landing on heads 4 times in a row. I do not know the equation for this problem. I know what it would be if it was 4 times over all but not 4 times in a row. Can someone please help me?

• Do you count TTHHHHHTTT as containing 4 heads in a row, or do you require exactly 4 heads in a row? – Parcly Taxel Oct 17 '16 at 2:59
• Im going to say the count because the question simple just states as i write it other then it talks about it being used for a video game. – Teaformylov Oct 17 '16 at 3:04
• Huh? So you mean the sequence I showed does contain 4 heads in a row? – Parcly Taxel Oct 17 '16 at 3:05
• Sure i mean it meets the rules of the question so why would it not count? And it is a possible out come that has 4 heads in a row. The question word for word says if you are playong a game where you flip a coint 10 time and inorder to win you have to have it land on heads 4 times in a row what are the chance of this happening. – Teaformylov Oct 17 '16 at 3:13