Actually, I have to correct myself on the math part. The probability of TTH coming out is 1/8(i.e. 1/2 X 1/2 X 1/2) and the probability of HHH coming out is also 1/8(i.e. 1/2 X 1/2 X 1/2). This is because there are 8 possible triplet combinations.
More information about formatting options