OFFSET
1,1
COMMENTS
For the orders of these matrices see A296352.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..31
Martin Kreh, "Lights Out" and Variants, Amer. Math. Month., Vol. 124 (10), Dec. 2017, pp. 937-950.
MATHEMATICA
K[n_] := Table[If[MemberQ[{0, 1, n - 1}, Abs[i - j]], 1, 0], {i, 1, n}, {j, 1, n}]; UL[n_] := KroneckerProduct[(kn = K[n]), (in = IdentityMatrix[n])] + KroneckerProduct[in, kn] - IdentityMatrix[n^2]; Select[Table[Det @ UL[n], {n, 3, 20}], # != 0 &] (* Amiram Eldar, May 13 2020 *)
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Dec 14 2017
STATUS
approved