login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A227479 Number of pairs of 2 X 2 matrices over Z/nZ that commute. 1
1, 88, 945, 6400, 18625, 83160, 134113, 434176, 741393, 1639000, 1931281, 6048000, 5195905, 11801944, 17600625, 28573696, 25552513, 65242584, 49515121, 119200000, 126736785, 169952728, 154460065, 410296320, 300390625 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = n^8 - A227433(n).
MATHEMATICA
lon[n_] := Length@matrices[n]; matrices[n_] := Flatten[Table[{{a, b}, {c, d}}, {a, n}, {b, n}, {c, n}, {d, n}], 3]; com[n_] := Sum[If[Mod[matrices[n][[i]].matrices[n][[j]] - matrices[n][[j]].matrices[n][[i]], n] == {{0, 0}, {0, 0}}, 1, 0], {i, lon[n]}, {j, i, lon[n]}]; Table[2*com[i] - i^4, {i, 4}]
CROSSREFS
Cf. A227433.
Sequence in context: A137049 A157730 A055749 * A321061 A295591 A182676
KEYWORD
nonn,mult
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 08:10 EDT 2024. Contains 374345 sequences. (Running on oeis4.)