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.
The answer is $\ \displaystyle\bigoplus_{i<j}\ \mathbb{Z}/\!\gcd(n_i,n_j)$. The reason is that for $G$ finite, $H^2(G,U(1))$ is the dual abelian group of $H_2(G,\mathbb{Z})$. Now use the Künneth formula.
The answer is $\ \displaystyle\bigoplus_{i<j}\ \mathbb{Z}/\!\gcd(n_i,n_j)$.
The answer is $\ \displaystyle\bigoplus_{i<j}\ \mathbb{Z}/\!\gcd(n_i,n_j)$. The reason is that for $G$ finite, $H^2(G,U(1))$ is the dual abelian group of $H_2(G,\mathbb{Z})$. Now use the Künneth formula.