login
A197487
Number of nonsingular n X n matrices with elements from {0,1,2}.
2
1, 2, 50, 12792, 30844560, 671869521960, 129553882116606720
OFFSET
0,2
MATHEMATICA
(* 2x2 case *) cnt = 0; Do[d = Det[{{a, b}, {c, d}}]; If[d != 0, cnt++], {a, 0, 2}, {b, 0, 2}, {c, 0, 2}, {d, 0, 2}]; cnt (* T. D. Noe, Nov 29 2011 *)
CROSSREFS
Sequence in context: A210924 A355629 A203766 * A080293 A084107 A203746
KEYWORD
nonn,more
AUTHOR
Roger Hui, Nov 29 2011
EXTENSIONS
a(5)-a(6) from Minfeng Wang, May 29 2024
a(0)=1 prepended by Alois P. Heinz, May 29 2024
STATUS
approved