|
|
A132186
|
|
Number of idempotent n X n matrices over GF(2); also number of diagonalizable n X n matrices over GF(2).
|
|
12
|
|
|
1, 2, 8, 58, 802, 20834, 1051586, 102233986, 19614424834, 7355623374338, 5494866505497602, 8087844439442585602, 23834930674299549249538, 138978138716920276085366786, 1626809921636911219317749563394, 37757678575184051755732304668884994
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = sum(k=0...n, 2^(k(n-k))*[n,k]_2), where [n,k]_2 is the Gaussian binomial for q=2. - Marc van Leeuwen, May 22 2013
|
|
MAPLE
|
T:= proc(n, k) option remember; `if`(k<0 or k>n, 0,
`if`(n=0, 1, T(n-1, k-1)+2^k*T(n-1, k)))
end:
a:= n-> add(2^(k*(n-k))*T(n, k), k=0...n):
|
|
MATHEMATICA
|
nn = 10; g[n_] := (q - 1)^n q^Binomial[n, 2] FunctionExpand[
QFactorial[n, q]] /. q -> 2; G[z_] := Sum[z^k/g[k], {k, 0, nn}]; Table[g[n], {n, 0, nn}] CoefficientList[Series[G[z]^2, {z, 0, nn}], z] (* Geoffrey Critzer, Aug 04 2017 *)
a[n_] := Block[{m}, Length@ Select[ Range[2^(n^2)], (m = Partition[ IntegerDigits[ #-1, 2, n^2], n]; Mod[m.m, 2] == m) &]]; a /@ Range[4] (* Giovanni Resta, Apr 09 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Yuval Dekel (dekelyuval(AT)hotmail.com), Sep 19 2003 and Vladeta Jovovic, Nov 04 2007
|
|
EXTENSIONS
|
This is the result of merging two independently submitted but identical sequences. Thanks to Geoffrey Critzer for suggesting this. - N. J. A. Sloane, Dec 26 2017
|
|
STATUS
|
approved
|
|
|
|