[go: up one dir, main page]

login
A053290
Number of nonsingular n X n matrices over GF(3).
30
1, 2, 48, 11232, 24261120, 475566474240, 84129611558952960, 134068444202678083338240, 1923442429811445711790394572800, 248381049201184165590947520186915225600, 288678833735376059528974260112416365258106470400
OFFSET
0,2
LINKS
J. Overbey, W. Traves and J. Wojdylo, On the Keyspace of the Hill Cipher.
FORMULA
a(n) = Product_{k=0..n-1}(3^n-3^k). - corrected by Michel Marcus, Sep 18 2015
a(n) = A047656(n)*A027871(n). - Bruno Berselli, Jan 30 2013
MATHEMATICA
Table[Product[3^n - 3^k, {k, 0, n - 1}], {n, 0, 10}] (* Geoffrey Critzer, Jan 26 2013; edited by Vincenzo Librandi, Jan 28 2013 *)
PROG
(Magma) [1] cat [&*[(3^n - 3^k): k in [0..n-1]]: n in [1..9]]; // Bruno Berselli, Jan 28 2013
(PARI) for(n=0, 10, print1(prod(k=0, n-1, 3^n - 3^k), ", ")) \\ G. C. Greubel, May 31 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stephen G Penrice, Mar 04 2000
EXTENSIONS
More terms from Vladeta Jovovic, Mar 16 2000
STATUS
approved