OFFSET
0,2
LINKS
L. Kaylor and D. Offner, Counting matrices over a finite field with all eigenvalues in the field, Involve, a Journal of Mathematics, Vol. 7 (2014), No. 5, 627-645.
FORMULA
EXAMPLE
a(2) = 14 because there are 16 2 X 2 matrices over GF(2) and all except {{0,1},{1,1}} and {{1,1},{1,0}} have characteristic polynomials of the desired form.
MATHEMATICA
nn = 12; q = 2; Table[Product[q^n - q^i, {i, 0, n - 1}], {n, 0, nn}] CoefficientList[Series[Product[1/(1 - u/q^r), {r, 1, \[Infinity]}]^2, {u, 0, nn}], u]
CROSSREFS
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Jul 10 2021
STATUS
approved