OFFSET
1,3
MATHEMATICA
f[n_] := If[n > 0, If[Plus @@ Select[ Divisors[n], Sqrt[n/2] <= # < Sqrt[n*2] &] == 0, 0, 1], 0]; Table[ Det[ Table[ f[ Abs[i - j]], {i, 1, n}, {j, 1, n}]], {n, 1, 50}]
CROSSREFS
KEYWORD
sign
AUTHOR
Robert G. Wilson v, May 30 2002
STATUS
approved