OFFSET
1,2
COMMENTS
Also number of 3 X 3 invertible matrices over the ring Z/nZ. - Max Alekseyev, Nov 02 2007
Order of the group GL(3,Z_n). For n > 2, a(n) is divisible by 96. - Jianing Song, Nov 24 2018
LINKS
T. D. Noe, 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.
C. J. Hillar and D. L. Rhea, Automorphisms of finite abelian groups, arXiv:math/0605185 [math.GR], 2006.
C. J. Hillar and D. L. Rhea, Automorphisms of finite abelian groups, Amer. Math. Monthly 114 (2007), no 10, 917-923.
J. Overbey, W. Traves and J. Wojdylo, On the Keyspace of the Hill Cipher, Cryptologia, Vol. 29 , Iss. 1, 2005.
FORMULA
a(n) = phi(n)*A011785(n). - Vladeta Jovovic, Oct 29 2001
a(n) = n^9*Product_{primes p dividing n} ((1 - 1/p^3)*(1 - 1/p^2)*(1 - 1/p)). This also gives a formula for A011785.
Multiplicative with a(p^e) = p^(9*e-6)*(p^3 - 1)*(p^2 - 1)*(p - 1). - Vladeta Jovovic, Nov 18 2001
Sum_{k=1..n} a(k) ~ c * n^10, where c = (1/10) * Product_{p prime} ((p^7 - p^5 - p^4 + p^2 + p - 1)/p^7) = 0.05123382571... . - Amiram Eldar, Oct 23 2022
MATHEMATICA
a[n_] := n^9*Times @@ Function[p, (1 - 1/p^3)*(1 - 1/p^2)*(1 - 1/p)] /@ FactorInteger[n][[All, 1]]; a[1] = 1; Array[a, 20] (* Jean-François Alcover, Mar 21 2017 *)
PROG
(PARI) a(n) = n^9*prod(k=2, n, if (!isprime(k) || (n % k), 1, (1-1/k^3)*(1-1/k^2)*(1-1/k))); \\ Michel Marcus, Jun 30 2015
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Dan Fux (dan.fux(AT)OpenGaia.com or danfux(AT)OpenGaia.com), Oct 24 2001
EXTENSIONS
More terms from Vladeta Jovovic, Nov 18 2001
STATUS
approved