Let $p$ be a prime and let $f_p$ be the permutation on the set $\{1,2,\cdots,p-1\}$ which is given by taking inverses in $\mathbb{Z}/(p)$:
$$x \bmod(p) \mapsto \frac{1}{x} \bmod (p)$$
So for instance, written in cyclic notation:
$$f_2 = ()$$
$$f_3 = ()$$
$$f_5 = (2,3)$$
$$f_7 = (2,4)(3,5)$$
Looking at the permutation group generated by two primes $p,q$ not necessarily distinct, we observe that the generated group:
$$\langle f_p,f_q\rangle = \langle f_p,f_q| f_p^2 = 1, f_q^2 = 1, (f_p \circ f_q)^n = 1\rangle = D_n$$ is the Dihedral group of degree $n(p,q)=:n$ for some natural number $n$, which depends on $p,q$.
This is because $\frac{1}{\frac{1}{x}} = x \bmod (p)$, so $f_p^2 = 1$ and if we look at the product $f_p \circ f_q$ which has finite order $n:=n(p,q)$, we see that this is just the presentation of the dihedral group of degree $n$ and order $2n$: $$\langle f_p,f_q| f_p^2 = 1, f_q^2 = 1, (f_p \circ f_q)^n = 1\rangle = D_n$$
Let us look at the group matrix as defined by Dedekind, where we write $D(p,q):=D_{n(p,q)}$ for the dihedral group:
$$(\operatorname{ord}({gh^{-1}}))_{g,h \in D(p,q)}$$
where $\operatorname{ord}(g)$ is the order of the element $g$ in $D(p,q)$ and (so a divisor of $2n=2 n(p,q)$).
I have looked at Keith Conrad's "History of representation theory" which explains how one would compute the spectrum of this group matrix, but I am not sure how to apply this knowledge in this situation.
(Here is a link to the representation theory for dihedral groups, which might help in answering this question. )
The questions are: 1) Why does these group matrices seem to always have integer spectrum?
[ 2) Is there any interpretation of the spectrum of one such matrix $G_{p,q}$ in terms of number theoretic properties of the primes $p,q$? ]
Some data and SageMath code:
def perm(p):
X = list(range(1,p))
s = Permutation([(1/X[i])%p for i in range(len(X))])
return s
def tmat(p,q):
G = PermutationGroup([perm(r) for r in [p,q]])
#print(G.order())
M = matrix([[ (g*h.inverse()).order() for g in G] for h in G])
return G,M
def printAttr(B):
for d in dir(B):
if d.startswith("__"):
continue
if d.startswith("is_"):
try:
if getattr(B,d)():
print(d,getattr(B,d)())
except:
pass
K=7
for M in range(1,K+1):
for N in range(1,K+1):
print(nth_prime(N),nth_prime(M))
G,A=(tmat(nth_prime(N),nth_prime(M)))
print((A))
ev = sorted(A.eigenvalues())
print(G.order(),ev)
print([(g.order()) for g in G])
plot(A).show()
Data:
p,q = 2 2
Matrix G_(p,q):
[1]
Order of dihedral group = 1 , Eigenvalues = [1]
order of elements in group = [1]
p,q = 3 2
Matrix G_(p,q):
[1]
Order of dihedral group = 1 , Eigenvalues = [1]
order of elements in group = [1]
p,q = 5 2
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 7 2
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 11 2
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 13 2
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 17 2
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 19 2
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 23 2
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 2 3
Matrix G_(p,q):
[1]
Order of dihedral group = 1 , Eigenvalues = [1]
order of elements in group = [1]
p,q = 3 3
Matrix G_(p,q):
[1]
Order of dihedral group = 1 , Eigenvalues = [1]
order of elements in group = [1]
p,q = 5 3
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 7 3
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 11 3
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 13 3
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 17 3
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 19 3
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 23 3
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 2 5
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 3 5
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 5 5
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 7 5
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 11 5
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 13 5
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 17 5
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 19 5
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 23 5
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 2 7
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 3 7
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 5 7
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 7 7
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 11 7
Matrix G_(p,q):
[1 2 2 6 2 3 2 2 6 2 2 3]
[2 1 6 2 3 2 2 2 2 6 3 2]
[2 6 1 2 2 2 2 3 2 3 6 2]
[6 2 2 1 2 2 3 2 3 2 2 6]
[2 3 2 2 1 2 2 6 2 6 3 2]
[3 2 2 2 2 1 6 2 6 2 2 3]
[2 2 2 3 2 6 1 2 3 2 2 6]
[2 2 3 2 6 2 2 1 2 3 6 2]
[6 2 2 3 2 6 3 2 1 2 2 2]
[2 6 3 2 6 2 2 3 2 1 2 2]
[2 3 6 2 3 2 2 6 2 2 1 2]
[3 2 2 6 2 3 6 2 2 2 2 1]
Order of dihedral group = 12 , Eigenvalues = [-7, -7, -6, -6, -6, -6, 2, 2, 2, 2, 9, 33]
order of elements in group = [1, 3, 3, 2, 2, 2, 2, 2, 2, 6, 6, 2]
p,q = 13 7
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 17 7
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 19 7
Matrix G_(p,q):
[1 2 2 2 2 3 2 6 6 2 3 2]
[2 1 2 2 3 2 6 2 2 6 2 3]
[2 2 1 2 2 6 2 3 3 2 6 2]
[2 2 2 1 6 2 3 2 2 3 2 6]
[2 3 2 6 1 2 2 2 2 6 2 3]
[3 2 6 2 2 1 2 2 6 2 3 2]
[2 6 2 3 2 2 1 2 2 3 2 6]
[6 2 3 2 2 2 2 1 3 2 6 2]
[6 2 3 2 2 6 2 3 1 2 2 2]
[2 6 2 3 6 2 3 2 2 1 2 2]
[3 2 6 2 2 3 2 6 2 2 1 2]
[2 3 2 6 3 2 6 2 2 2 2 1]
Order of dihedral group = 12 , Eigenvalues = [-7, -7, -6, -6, -6, -6, 2, 2, 2, 2, 9, 33]
order of elements in group = [1, 3, 3, 2, 2, 2, 2, 2, 2, 6, 6, 2]
p,q = 23 7
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 2 11
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 3 11
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 5 11
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 7 11
Matrix G_(p,q):
[1 2 2 6 2 3 2 2 6 2 2 3]
[2 1 6 2 3 2 2 2 2 6 3 2]
[2 6 1 2 2 2 2 3 2 3 6 2]
[6 2 2 1 2 2 3 2 3 2 2 6]
[2 3 2 2 1 2 2 6 2 6 3 2]
[3 2 2 2 2 1 6 2 6 2 2 3]
[2 2 2 3 2 6 1 2 3 2 2 6]
[2 2 3 2 6 2 2 1 2 3 6 2]
[6 2 2 3 2 6 3 2 1 2 2 2]
[2 6 3 2 6 2 2 3 2 1 2 2]
[2 3 6 2 3 2 2 6 2 2 1 2]
[3 2 2 6 2 3 6 2 2 2 2 1]
Order of dihedral group = 12 , Eigenvalues = [-7, -7, -6, -6, -6, -6, 2, 2, 2, 2, 9, 33]
order of elements in group = [1, 3, 3, 2, 2, 2, 2, 2, 2, 6, 6, 2]
p,q = 11 11
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 13 11
Matrix G_(p,q):
[ 1 2 2 2 2 10 2 5 2 5 10 2 2 10 5 2 5 2 2 10]
[ 2 1 2 2 10 2 5 2 5 2 2 10 10 2 2 5 2 5 10 2]
[ 2 2 1 2 2 5 2 10 2 10 5 2 2 5 10 2 10 2 2 5]
[ 2 2 2 1 5 2 10 2 10 2 2 5 5 2 2 10 2 10 5 2]
[ 2 10 2 5 1 2 10 2 2 2 2 5 5 2 2 10 2 10 5 2]
[10 2 5 2 2 1 2 10 2 2 5 2 2 5 10 2 10 2 2 5]
[ 2 5 2 10 10 2 1 2 5 2 2 10 2 2 2 5 2 5 10 2]
[ 5 2 10 2 2 10 2 1 2 5 10 2 2 2 5 2 5 2 2 10]
[ 2 5 2 10 2 2 5 2 1 2 2 10 10 2 2 5 2 5 10 2]
[ 5 2 10 2 2 2 2 5 2 1 10 2 2 10 5 2 5 2 2 10]
[10 2 5 2 2 5 2 10 2 10 1 2 2 5 2 2 10 2 2 5]
[ 2 10 2 5 5 2 10 2 10 2 2 1 5 2 2 2 2 10 5 2]
[ 2 10 2 5 5 2 2 2 10 2 2 5 1 2 2 10 2 10 5 2]
[10 2 5 2 2 5 2 2 2 10 5 2 2 1 10 2 10 2 2 5]
[ 5 2 10 2 2 10 2 5 2 5 2 2 2 10 1 2 5 2 2 10]
[ 2 5 2 10 10 2 5 2 5 2 2 2 10 2 2 1 2 5 10 2]
[ 5 2 10 2 2 10 2 5 2 5 10 2 2 10 5 2 1 2 2 2]
[ 2 5 2 10 10 2 5 2 5 2 2 10 10 2 2 5 2 1 2 2]
[ 2 10 2 5 5 2 10 2 10 2 2 5 5 2 2 10 2 2 1 2]
[10 2 5 2 2 5 2 10 2 10 5 2 2 5 10 2 2 2 2 1]
Order of dihedral group = 20 , Eigenvalues = [-21, -21, -12, -12, -12, -12, -12, -12, -12, -12, 4, 4, 4, 4, 4, 4, 4, 4, 43, 83]
order of elements in group = [1, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 2, 10, 10]
p,q = 17 11
Matrix G_(p,q):
[ 1 2 2 10 10 2 10 2 2 5 2 5 5 2 2 2 2 5 2 10]
[ 2 1 10 2 2 10 2 10 5 2 5 2 2 5 2 2 5 2 10 2]
[ 2 10 1 2 2 5 2 5 10 2 2 2 2 10 5 2 10 2 5 2]
[10 2 2 1 5 2 5 2 2 10 2 2 10 2 2 5 2 10 2 5]
[10 2 2 5 1 2 5 2 2 10 2 10 2 2 2 5 2 10 2 5]
[ 2 10 5 2 2 1 2 5 10 2 10 2 2 2 5 2 10 2 5 2]
[10 2 2 5 5 2 1 2 2 2 2 10 10 2 2 5 2 10 2 5]
[ 2 10 5 2 2 5 2 1 2 2 10 2 2 10 5 2 10 2 5 2]
[ 2 5 10 2 2 10 2 2 1 2 5 2 2 5 10 2 5 2 10 2]
[ 5 2 2 10 10 2 2 2 2 1 2 5 5 2 2 10 2 5 2 10]
[ 2 5 2 2 2 10 2 10 5 2 1 2 2 5 10 2 5 2 10 2]
[ 5 2 2 2 10 2 10 2 2 5 2 1 5 2 2 10 2 5 2 10]
[ 5 2 2 10 2 2 10 2 2 5 2 5 1 2 2 10 2 5 2 10]
[ 2 5 10 2 2 2 2 10 5 2 5 2 2 1 10 2 5 2 10 2]
[ 2 2 5 2 2 5 2 5 10 2 10 2 2 10 1 2 10 2 5 2]
[ 2 2 2 5 5 2 5 2 2 10 2 10 10 2 2 1 2 10 2 5]
[ 2 5 10 2 2 10 2 10 5 2 5 2 2 5 10 2 1 2 2 2]
[ 5 2 2 10 10 2 10 2 2 5 2 5 5 2 2 10 2 1 2 2]
[ 2 10 5 2 2 5 2 5 10 2 10 2 2 10 5 2 2 2 1 2]
[10 2 2 5 5 2 5 2 2 10 2 10 10 2 2 5 2 2 2 1]
Order of dihedral group = 20 , Eigenvalues = [-21, -21, -12, -12, -12, -12, -12, -12, -12, -12, 4, 4, 4, 4, 4, 4, 4, 4, 43, 83]
order of elements in group = [1, 5, 5, 5, 5,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order of dihedral group = 16 , Eigenvalues = [-21, -21, -5, -5, -5, -5, -1, -1, -1, -1, -1, -1, -1, -1, 27, 59]
order of elements in group = [1, 2, 2, 2, 2, 2, 8, 8, 2, 2, 4, 4, 8, 8, 2, 2]
p,q = 2 13
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 3 13
Matrix G_(p,q):
[1 2]
[2 1]
Order of dihedral group = 2 , Eigenvalues = [-1, 3]
order of elements in group = [1, 2]
p,q = 5 13
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 7 13
Matrix G_(p,q):
[1 2 2 2 2 4 4 2]
[2 1 2 2 4 2 2 4]
[2 2 1 2 4 2 2 4]
[2 2 2 1 2 4 4 2]
[2 4 4 2 1 2 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 4 2 2 2 2 1]
Order of dihedral group = 8 , Eigenvalues = [-5, -5, -1, -1, -1, -1, 3, 19]
order of elements in group = [1, 2, 2, 4, 2, 2, 4, 2]
p,q = 11 13
Matrix G_(p,q):
[ 1 2 2 2 2 10 2 5 2 5 10 2 2 10 5 2 5 2 2 10]
[ 2 1 2 2 10 2 5 2 5 2 2 10 10 2 2 5 2 5 10 2]
[ 2 2 1 2 2 5 2 10 2 10 5 2 2 5 10 2 10 2 2 5]
[ 2 2 2 1 5 2 10 2 10 2 2 5 5 2 2 10 2 10 5 2]
[ 2 10 2 5 1 2 10 2 2 2 2 5 5 2 2 10 2 10 5 2]
[10 2 5 2 2 1 2 10 2 2 5 2 2 5 10 2 10 2 2 5]
[ 2 5 2 10 10 2 1 2 5 2 2 10 2 2 2 5 2 5 10 2]
[ 5 2 10 2 2 10 2 1 2 5 10 2 2 2 5 2 5 2 2 10]
[ 2 5 2 10 2 2 5 2 1 2 2 10 10 2 2 5 2 5 10 2]
[ 5 2 10 2 2 2 2 5 2 1 10 2 2 10 5 2 5 2 2 10]
[10 2 5 2 2 5 2 10 2 10 1 2 2 5 2 2 10 2 2 5]
[ 2 10 2 5 5 2 10 2 10 2 2 1 5 2 2 2 2 10 5 2]
[ 2 10 2 5 5 2 2 2 10 2 2 5 1 2 2 10 2 10 5 2]
[10 2 5 2 2 5 2 2 2 10 5 2 2 1 10 2 10 2 2 5]
[ 5 2 10 2 2 10 2 5 2 5 2 2 2 10 1 2 5 2 2 10]
[ 2 5 2 10 10 2 5 2 5 2 2 2 10 2 2 1 2 5 10 2]
[ 5 2 10 2 2 10 2 5 2 5 10 2 2 10 5 2 1 2 2 2]
[ 2 5 2 10 10 2 5 2 5 2 2 10 10 2 2 5 2 1 2 2]
[ 2 10 2 5 5 2 10 2 10 2 2 5 5 2 2 10 2 2 1 2]
[10 2 5 2 2 5 2 10 2 10 5 2 2 5 10 2 2 2 2 1]
Order of dihedral group = 20 , Eigenvalues = [-21, -21, -12, -12, -12, -12, -12, -12, -12, -12, 4, 4, 4, 4, 4, 4, 4, 4, 43, 83]
order of elements in group = [1, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 2, 10, 10]