Let $SL_2(\mathbb{Z})$ denote the group (under usual matrix multiplication) of $2\times2$ matrices with integer entries and determinant $1$. Let $H$ be the subgroup of $SL_2(\mathbb{Z})$ consisting of those matrices such that the diagonal entries are all equivalent to $1 \pmod 3$ and the off-diagonal entries are all divisible by $3$.
What is the index of $H$ in $SL_2(\mathbb{Z})$? There are a total of $3^4=81$ different equivalence classes of matrices in $SL_2(\mathbb{Z})$ modulo $3$ (each of the entries can have $0,1,2$ as remainders). Now, the given condition implies only one of the possible $81$ combinations modulo $3$. How do we proceed? any hints? Thanks beforehand.