I am trying to determine the number of permutations of three children in a family, considering their gender. When listing out the permutations, I found eight possibilities: BBB, BBG, BGB, GBB, GGG, GGB, BGB, GBB. This can be calculated using the Fundamental Theorem of Counting ($2^3$). However, when I attempted to find it using $nPr$ I encountered a discrepancy.
The formula for permutations of $r$ objects taken at a time from n objects, where there are, say, $p$ objects of one type, $q$ objects of another type, and so on, is given as $\large{\frac{nPr}{ p!\times q!...}}$. This is also known as permutation with repetition formula.
In this children problem, we can consider it as selecting 3 children from a set of 6 children, with 3 being boys and 3 being girls. Thus, we have $p = q = 3$. Therefore, the formula should be $\large{\frac{6P3}{ 3! \times 3!}}$, which however, equals $\large\frac{10}{3}$. As you can see, this result is not consistent with the expected outcome of 8 permutations.
I seek clarification on how to properly use the $nPr$ formula in this context to obtain the correct number of permutations, which should be $8$.