OFFSET
0,2
COMMENTS
See A210000 for a guide to related sequences.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = 8*A134506(n) + (4*n + 1)^2. - Andrew Howroyd, May 04 2020
EXAMPLE
Among the 33 matrices counted by a(1) are these (in compact notation):
(-1,-1,-1,-1), (0,0,0,0), (1,-1,-1,1), (1,1,1,1).
MATHEMATICA
a = -n; b = n; z1 = 40;
t[n_] := t[n] = Flatten[Table[w*z - x*y, {w, a, b}, {x, a, b}, {y, a, b}, {z, a, b}]]
c[n_, k_] := c[n, k] = Count[t[n], k]
Table[c[n, 0], {n, 0, z1}] (* A209981 *)
Table[c[n, 1], {n, 0, z1}] (* A209982 *)
%/4 (* A206258 *)
2 % (* A209983 *)
Table[c[n, 2], {n, 0, z1}] (* A209984 *)
%/4 (* A209985 *)
Table[c[n, 3], {n, 0, z1}] (* A209986 *)
%/8 (* A209987 *)
Table[c[n, 4], {n, 0, z1}] (* A209988 *)
%/4 (* A209989 *)
Table[c[n, 5], {n, 0, z1}] (* A209990 *)
%/8 (* A209997 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 17 2012
STATUS
approved