there are p multichoose n genotypes

Not p choose n. The correct number of genotypes is given by the multinomial
coefficient.