Let $\mathbb{F}_3$ be the field with three elements. Let $n\geq 1$. How many elements do the following groups have?
- $\text{GL}_n(\mathbb{F}_3)$
- $\text{SL}_n(\mathbb{F}_3)$
Here GL is the general linear group, the group of invertible n×n matrices, and SL is the special linear group, the group of n×n matrices with determinant 1.