OFFSET
1,2
COMMENTS
The projective special linear group PSL(2,Z_n) is the quotient group of SL(2,Z_n) with its center. The center of SL(2,Z_n) is the group of scalar matrices whose diagonal entry is x in Z_n such that x^2 = 1. The elements of PSL(2,Z_n) are equivalence classes of 2 X 2 matrices with entries in Z_n where two matrices are equivalent if one is a scalar multiple of the other.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
Geoffrey Critzer, Combinatorics of Vector Spaces over Finite Fields, Master's thesis, Emporia State University, 2018.
FORMULA
Multiplicative with a(2) = 6, a(2^2) = 24, a(2^e) = 3*2^(3*e-4) for e > 2, and a(p^e) = (p^2-1)*p^(3*e-2)/2 for p > 2. - Amiram Eldar, Dec 01 2022
MATHEMATICA
n := 2; nn = 40; \[Gamma][n_, q_] := Product[q^n - q^i, {i, 0, n - 1}]; Prepend[ Table[Product[ FactorInteger[m][[All, 1]][[j]]^(n^2 (FactorInteger[m][[All, 2]][[j]] - 1)) \[Gamma][n, FactorInteger[m][[All, 1]][[j]]], {j, 1, PrimeNu[m]}], {m, 2, nn}]/Table[EulerPhi[m], {m, 2, nn}]/ Table[Count[Mod[Select[Range[m], GCD[#, m] == 1 &]^n, m], 1], {m, 2, nn}], 1]
f[p_, e_] := (p^2-1)*p^(3*e-2)/2; f[2, e_] := Switch[e, 1, 6, 2, 24, _, 3*2^(3*e-4)]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 40] (* Amiram Eldar, Dec 01 2022 *)
PROG
(PARI) a(n) = {my(f=factor(n)); prod(i=1, #f~, my([p, e]=f[i, ]); (p^2-1)*p^(3*e-2)/if(p==2, 2^min(2, e-1), 2))} \\ Andrew Howroyd, Aug 01 2018
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Geoffrey Critzer, Mar 16 2018
EXTENSIONS
Keyword:mult added by Andrew Howroyd, Aug 01 2018
STATUS
approved