It is well-known that $H^{3}(\mathbb{Z}/n\mathbb{Z};U(1))$ (the 3rd cohomology group of the cyclic group of $n$ in coefficient $U(1)$) is isomorphic to $\mathbb{Z}/n\mathbb{Z}$. Does there exist an explicit formula for a 3-cocycle representing a generator of $H^{3}(\mathbb{Z}/n\mathbb{Z};U(1))$? What I mean precisely is: does there exist such a formula that is uniformly expressed in terms of $n$?
In fact, I need an expression to compute the Dijkgraaf-Witten invariant invariant of a 3-manifold.
Thanks!