login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A367978 Number of distinct characteristic polynomials for 4 X 4 matrices with entries from {0, 1, ..., n}. 0
1, 333, 58335, 2875405 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
mat[n_Integer?Positive] := mat[n] = Array[m, {n, n}];
flatMat[n_Integer?Positive] := flatMat[n] = Flatten[mat[n]];
charPolyMat[n_Integer?Positive] := charPolyMat[n] = FullSimplify[CoefficientList[Expand[CharacteristicPolynomial[mat[n], x]], x]];
a[d_Integer?Positive, 0] = 1; a[d_Integer?Positive, n_Integer?Positive] := a[d, n] = Length[DeleteDuplicates[Flatten[Table[Evaluate[charPolyMat[d]], ##] & @@ Table[{flatMat[d][[i]], 0, n}, {i, 1, d^2}], d^2 - 1]]];
Table[a[4, n], {n, 0, 2}]
CROSSREFS
Cf. A366448 (2 X 2 matrices), A366551 (3 X 3 matrices).
Cf. A272659.
Sequence in context: A250835 A221827 A158859 * A182098 A331411 A020367
KEYWORD
nonn,more,hard
AUTHOR
Robert P. P. McKone, Dec 07 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 13 12:36 EDT 2024. Contains 374284 sequences. (Running on oeis4.)