Suppose that $M(\Bbb R,n)$ is the set of all $n \times n$ square real matrices. The special linear group $\text{SL}(\Bbb R,n)$ acts on this group via right-multiplication.
It is easy to see that the determinant will be preserved under the group action, so that for any $A \in M(\Bbb R,n)$ and $B \in \text{SL}(\Bbb R,n)$, we have $\det(AB) = \det(A)$.
Additionally, on this Wikipedia page, it claims that this is basically the only polynomial on the coefficients of $A \in M(\Bbb R,n)$ that is preserved for arbitrary $B \in \text{SL}(\Bbb R,n)$, in that any other polynomial preserved is just a linear combination of powers of the determinant. That is, the ring of invariants of the special linear group is generated entirely from the determinant.
A fairly important subgroup of $\text{SL}(\Bbb R,n)$ is $\text{SL}(\Bbb Z,n)$, the group of integer unimodular matrices with determinant equal to +1. This is just the subgroup of the special linear group whose coefficients are integers.
Although the coefficients of $\text{SL}(\Bbb Z,n)$ are integers, we will again view it as acting on the real square matrices $M(\Bbb R,n)$. Then it is easy to see that this subgroup again preserves the determinant. However, does it now also preserve anything else? Or do we get the same invariant ring as $\text{SL}(\Bbb Z,n)$?
(Also, is there some methodology for computing invariant rings for groups like these?)
EDIT: doing a brute force search of polynomials has yielded no invariants (so far) for $2 \times 2$ matrices except the determinant, so it may well be only that.