Circular permutations of N objects of n1 are identical of one type, n2 are identical of another type and so on, such that n1+n2+n3+..... = N?
A [similar question](https://mathoverflow.net/questions/86709/circular-permutations-with-identical-objects/86724#86724?newreg=147fab9193234fd5a7d039d70569afc4) exists but it doesn't address the case where reflections are under the same equivalent class.$$\frac{1}{N}\sum\_{d | N} \phi(d) p\_d^{N/d}$$ This is when reflections are not the same. How does the equation change under this new restriction.


Note: I couldn't comment on that question due to my low reputation, so I made this question.



Circular (bracelets) permutations with alike things(reflections are equivalent) using polya enumeration
Answer based on Max Alekseyev's helpful comments.
Unlike the cyclic group, using which all rotations are equivalent, under the dihedral group all rotations as well as reflections are equivalent.  

Intuitively it seems right is use dihedral group because dihedral group is group of symmetic transformations of regular polygons,where as cyclic groups consider only rotational symmetries.  

Thus we must use the cyclic index of the dihedral group.
That is $$\frac{1}{2N}(\sum\_{d|N}\phi(d)p\_d^\frac{N}{d})+\frac{1}{2}p\_1p\_2^{(N-1)/2} $$ If n is odd.


$$\frac{1}{2N}(\sum\_{d|N}\phi(d)p\_d^\frac{N}{d})+\frac{1}{4}(p\_1^2p\_2^{(N-2)/2}+p\_2^{N/2} ) $$ If n is even.


