Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Yes I understood. I mistook the cyclic group for dihedral group. I was kind of confused. Thanks for the comment. I now understand how to apply the formula.