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(nth_prime(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()
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 2]
[2 1][1]
Order of dihedral group = 21 , Eigenvalues = [-1, 3][1]
order of elements in group = [1, 2][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 = 219 32
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 = 323 32
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 22]
[2 1]
Order of dihedral group = 2 4, 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 4, 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, 43]
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 4]5
Matrix G_(p,q):
[1 2]
[2 41]
Order 1of dihedral group = 2 4, 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]
[4
p,q = 7 5
Matrix G_(p,q):
[1 2 2 12 2 4 24 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 42 2 2]
[4 2 2 4 2 1 2 2]
[4 2 2 4 2 2 1 2]
[2 4 24 2 42 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 = 711 35
Matrix G_(p,q):
[1 2 2 4 2 2 4 4 2]
[2 1 4 2 2 4 2 2 4]
[2 42 1 2 4 2 2 2]4]
[4[2 2 2 1 2 4 24 2]
[2 24 4 2 1 2 2 4]2]
[2[4 2 2 4 2 1 42 2]
[4 2 2 24 2 42 1 2]
[2 4 24 2 42 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 = 1113 35
Matrix G_(p,q):
[1 2 2 4 2 2 4 4 2]
[2 1 4 2 2 4 2 2 4]
[2 42 1 2 4 2 2 2]4]
[4[2 2 2 1 2 4 24 2]
[2 24 4 2 1 2 2 4]2]
[2[4 2 2 4 2 1 42 2]
[4 2 2 24 2 42 1 2]
[2 4 24 2 42 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 = 1317 35
Matrix G_(p,q):
[1 2 2 4 2 2 4 4 2]
[2 1 4 2 2 4 2 2 4]
[2 42 1 2 4 2 2 2]4]
[4[2 2 2 1 2 4 24 2]
[2 24 4 2 1 2 2 4]2]
[2[4 2 2 4 2 1 42 2]
[4 2 2 24 2 42 1 2]
[2 4 24 2 42 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 = 1719 35
Matrix G_(p,q):
[1 2 2 4 2 2 4 4 2]
[2 1 4 2 2 4 2 2 4]
[2 42 1 2 4 2 2 2]4]
[4[2 2 2 1 2 4 24 2]
[2 24 4 2 1 2 2 4]2]
[2[4 2 2 4 2 1 42 2]
[4 2 2 24 2 42 1 2]
[2 4 24 2 42 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 = 223 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 57
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 42 2 2 4 4 2]
[2 1 4 2 2 4 2 2 4]
[2 42 1 2 4 2 2 2]4]
[4[2 2 2 1 2 4 24 2]
[2 24 4 2 1 2 2 4]2]
[2[4 2 2 4 2 1 42 2]
[4 2 2 24 2 42 1 2]
[2 4 24 2 42 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 = 57 57
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 = 711 57
Matrix G_(p,q):
[ 1 5 5 5 5 2 2 2 2 2 2 2 2 2 2 2 10 10 10 10]
[ 5 1 5 5 5 2 2 2 2 2 2 2 2 2 2 10 10 10 10 2]
[ 5 5 1 5 5 2 2 2 2 2 2 2 2 2 2 10 10 10 2 10]
[ 5 5 5 1 5 2 2 2 2 2 2 2 2 2 2 10 10 2 10 10]
[ 5 5 5 5 1 2 2 2 2 2 2 2 2 2 2 10 2 10 10 10]
[ 2 2 2 2 2 1 5 5 5 5 2 10 10 10 10 2 2 2 2 2]
[ 2 2 2 2 2 5 1 5 5 5 10 10 10 10 2 2 2 2 2 2]
[ 2 2 2 2 2 5 5 1 5 5 10 10 10 2 10 2 2 2 2 2]
[ 2 2 2 2 2 5 5 5 1 5 10 10 2 10 10 2 2 2 2 2]
[ 2 2 2 2 2 5 5 5 5 1 10 2 10 10 10 2 2 2 2 2]
[ 2 2 2 2 2 2 10 10 10 10 1 5 5 5 5 2 2 2 2 2]
[ 2 2 2 2 2 10 10 10 10 2 5 1 5 5 5 2 2 2 2 2]
[ 2 2 2 2 2 10 10 10 2 10 5 5 1 5 5 2 2 2 2 2]
[ 2 2 2 2 2 10 10 2 10 10 5 5 5 1 5 2 2 2 2 2]
[ 2 2 2 2 2 10 2 10 10 10 5 5 5 5 1 2 2 2 2 2]
[ 2 10 10 10 10 2 2 2 2 2 2 2 2 2 2 1 5 5 5 5]
[10 10 10 10 2 2 2 2 2 2 2 2 2 2 2 5 1 5 5 5]
[10 10 10 2 10 2 2 2 2 2 2 2 2 2 2 5 5 1 5 5]
[10 10 2 10 10 2 2 2 2 2 2 2 2 2 2 5 5 5 1 5]
[10 2 10 10 10 2 2 2 2 2 2 2 2 2 2 5 5 5 5 1]
[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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 10, 10]
p,q = 19 11
Matrix G_(p,q):
[ 1 2 2 3 3 2 2 2 2 6 6 2 2 12 4 2 2 12 2 12 4 2 2 12]
[ 2 1 3 2 2 3 2 2 6 2 2 6 12 2 2 4 12 2 12 2 2 4 12 2]
[ 2 3 1 2 2 3 2 6 2 2 2 6 4 2 2 12 12 2 4 2 2 12 12 2]
[ 3 2 2 1 3 2 6 2 2 2 6 2 2 4 12 2 2 12 2 4 12 2 2 12]
[ 3 2 2 3 1 2 6 2 2 6 2 2 2 12 12 2 2 4 2 12 12 2 2 4]
[ 2 3 3 2 2 1 2 6 6 2 2 2 12 2 2 12 4 2 12 2 2 12 4 2]
[ 2 2 2 6 6 2 1 2 2 3 3 2 2 12 4 2 2 12 2 12 4 2 2 12]
[ 2 2 6 2 2 6 2 1 3 2 2 3 12 2 2 4 12 2 12 2 2 4 12 2]
[ 2 6 2 2 2 6 2 3 1 2 2 3 4 2 2 12 12 2 4 2 2 12 12 2]
[ 6 2 2 2 6 2 3 2 2 1 3 2 2 4 12 2 2 12 2 4 12 2 2 12]
[ 6 2 2 6 2 2 3 2 2 3 1 2 2 12 12 2 2 4 2 12 12 2 2 4]
[ 2 6 6 2 2 2 2 3 3 2 2 1 12 2 2 12 4 2 12 2 2 12 4 2]
[ 2 12 4 2 2 12 2 12 4 2 2 12 1 2 2 3 3 2 2 2 2 6 6 2]
[12 2 2 4 12 2 12 2 2 4 12 2 2 1 3 2 2 3 2 2 6 2 2 6]
[ 4 2 2 12 12 2 4 2 2 12 12 2 2 3 1 2 2 3 2 6 2 2 2 6]
[ 2 4 12 2 2 12 2 4 12 2 2 12 3 2 2 1 3 2 6 2 2 2 6 2]
[ 2 12 12 2 2 4 2 12 12 2 2 4 3 2 2 3 1 2 6 2 2 6 2 2]
[12 2 2 12 4 2 12 2 2 12 4 2 2 3 3 2 2 1 2 6 6 2 2 2]
[ 2 12 4 2 2 12 2 12 4 2 2 12 2 2 2 6 6 2 1 2 2 3 3 2]
[12 2 2 4 12 2 12 2 2 4 12 2 2 2 6 2 2 6 2 1 3 2 2 3]
[ 4 2 2 12 12 2 4 2 2 12 12 2 2 6 2 2 2 6 2 3 1 2 2 3]
[ 2 4 12 2 2 12 2 4 12 2 2 12 6 2 2 2 6 2 3 2 2 1 3 2]
[ 2 12 12 2 2 4 2 12 12 2 2 4 6 2 2 6 2 2 3 2 2 3 1 2]
[12 2 2 12 4 2 12 2 2 12 4 2 2 6 6 2 2 2 2 3 3 2 2 1]
Order of dihedral group = 24 , Eigenvalues = [-35, -35, -22, -22, -22, -22, -7, -7, -7, -7, 2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 10, 10, 53, 101]
order of elements in group = [1, 3, 3, 2, 2, 2, 2, 2, 2, 12, 12, 4, 2, 2, 2, 12, 12, 4, 2, 6, 6, 2, 2, 2]
p,q = 23 11
Matrix G_(p,q):
[1 2 2 8 8 2 2 4 2 2 2 4 8 2 8 2]
[2 1 8 2 2 8 4 2 2 2 4 2 2 8 2 8]
[2 8 1 2 2 2 8 2 2 8 8 2 2 4 2 4]
[8 2 2 1 2 2 2 8 8 2 2 8 4 2 4 2]
[8 2 2 2 1 2 2 8 8 2 2 8 4 2 4 2]
[2 8 2 2 2 1 8 2 2 8 8 2 2 4 2 4]
[2 4 8 2 2 8 1 2 2 4 2 2 2 8 2 8]
[4 2 2 8 8 2 2 1 4 2 2 2 8 2 8 2]
[2 2 2 8 8 2 2 4 1 2 2 4 8 2 8 2]
[2 2 8 2 2 8 4 2 2 1 4 2 2 8 2 8]
[2 4 8 2 2 8 2 2 2 4 1 2 2 8 2 8]
[4 2 2 8 8 2 2 2 4 2 2 1 8 2 8 2]
[8 2 2 4 4 2 2 8 8 2 2 8 1 2 2 2]
[2 8 4 2 2 4 8 2 2 8 8 2 2 1 2 2]
[8 2 2 4 4 2 2 8 8 2 2 8 2 2 1 2]
[2 8 4 2 2 4 8 2 2 8 8 2 2 2 2 1]
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]