|
|
A088217
|
|
Number of distinct values that can be assumed by the determinant of an n X n matrix whose entries are all permutations of the numbers 1..n^2.
|
|
10
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
a(2)=6 because the determinants of the 24 2 X 2 matrices whose entries are all permutations of 1,2,3,4 can only assume the values -10,-5,-2,2,5,10.
|
|
MATHEMATICA
|
f[n_] := (p = Permutations[ Table[i, {i, n^2}]]; Length[ Union[ Table[ Det[ Partition[ p[[i]], n]], {i, 1, (n^2)!}]]]) (* Robert G. Wilson v *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|