login
A074018
Number of elements of GF(7^n) with trace 1 and subtrace 1.
9
0, 0, 6, 56, 350, 2401, 16807, 117306, 823200, 5767202, 40356008, 282492056
OFFSET
1,3
COMMENTS
Same as the number of elements of GF(7^n) with trace 2 and subtrace 4. Same as the number of elements of GF(7^n) with trace 3 and subtrace 2. Same as the number of elements of GF(7^n) with trace 4 and subtrace 2. Same as the number of elements of GF(7^n) with trace 5 and subtrace 4. Same as the number of elements of GF(7^n) with trace 6 and subtrace 1.
PROG
(Sage)
def a(n):
ans = 0
for x in GF(7^n):
if x.charpoly().coefficients(sparse=False)[-3:-1]==[1, 1]: ans += 1
return ans # Robin Visser, May 13 2024
KEYWORD
nonn,more
AUTHOR
Frank Ruskey and Nate Kube, Aug 19 2002
EXTENSIONS
a(8)-a(12) from Robin Visser, May 13 2024
STATUS
approved