The crystallographic restriction theorem says that you cannot have a periodic lattice with $n$-fold rotation symmetry, with $n$ different from 1,2,3,4 and 6 (for 2D and 3D).
There are many ways to prove the theorem, see the Wikipedia article. I understand some of the them, but one of the proof goes like this:
Consider a periodic lattice that is symmetric with respect to $n$-fold rotations around a given axis. The trace of the matrix associated to the spatial rotation around the given axis is either $2\cos\left(\frac{2\pi}{n}\right)$ (2D) or $1+2\cos\left(\frac{2\pi}{n}\right)$ (3D). As the rotation matrix maps lattice points into other lattice points, then the trace has to be an integer. The only solution to this is condition is $n$ to be equal to 1,2,3,4 or 6.
The solution and why the trace is like that I understand by simply writing the rotation matrix, but I would like to have more insight on why the trace has to be an integer in order to be a representation of a symmetry operation of the lattice.
In general, is there any meaning to trace=integer?