Let $G = GL_2(\mathbb{Z}/p^2\mathbb{Z})$. Find $|G|$.
$G$ is the group of invertible $2 \times 2$ matrices with entries in the ring $\mathbb{Z}/p^2\mathbb{Z}$. In this case, I know invertibility is equivalent to the condition that the determinant of the chosen matrix is a unit of the ring $\mathbb{Z}/p^2\mathbb{Z}$. Now, $(\mathbb{Z}/p^2\mathbb{Z})^{\times} = \{\bar{a} : (a, p^2) = 1 \}.$ So, we know $a$ cannot be a multiple of $p$. My idea is to count the number of elements that do give a determinant a multiple of $p$, and then subtract this quantity from the total number of possible matrices, $p^8$. So we are looking for solutions of the equation $ad-bc \equiv 0(mod p),$ or $ad \equiv bc (mod p)$. I know for the field case, a common trick is to fix the first column and find conditions on the second column that give the desired result.
So fix $a = a_0$ and $c = c_0$ and consider $a_0d \equiv bc_0 (mod p).$ A class of solutions that jumps out at me is $b \equiv a_0 (mod p)$ and $d \equiv c_0 (mod p).$ But are these the only solutions? Is this even the right way to go about this problem?
Any help would be appreciated!
$x\equiv y\pmod{p}$for $x\equiv y\pmod{p}$. – Shaun Feb 20 '23 at 20:13