Coin toss series can be viewed, depending on what you want to know, as either "combination" or "permutation" but in all cases "with repetition" (meaning same side can occur again and again).
*Probably the best page that summarizes the Combination vs Premutation with or without Repetition https://www.mathsisfun.com/combinatorics/combinations-permutations.html *
If the question is "How many ways a series of R coin tosses (N=2 sides) can go? Of these, how many will have 2 Heads in the row?", you are looking for Permutation with Repetition where "HHT" is different outcome from "THH".
Permutation with Repetition is the simplest of them all:
N to the power of R.
Example:
3 tosses of 2-sided coin is 2 to power of 3 or 8 Permutations possible.
In these, "at-least-2 Heads in a row" permutations are: HHH, HHT, THH - 3. Probability of "at least 2 heads in a row" is 3/8th (0.375)
If the question is "If you throw a 2-sided coin (N=2), R times, how many times can you get at least 2 heads?", you are looking for Combination (order is not important) with Repetition where "HHT" and "THH" are same outcomes (combination).
Combination with Repetition formula is the most complicated (and annoying to remember): (R+N-1)! / R!(N-1)!
For 3 2-sided coin tosses (R=3, N=2), Combination with Repetition: (3+2-1)! / 3!(2-1)! = 24 / 6 = 4
These are (because order is not important): HHH, HHT, HTT, TTT
If you are looking for "at least 2 Heads", 2 options match: HHH and HHT (order not important).
Probability of you getting at least 2 heads is 2 outcomes / 4 Combinations (with Repetition) = 0.5. Right?