|
|
A074017
|
|
Number of elements of GF(7^n) with trace 1 and subtrace 0.
|
|
9
|
|
|
1, 0, 6, 42, 350, 2450, 16807, 117649, 823200, 5762400, 40356008, 282492056
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Same as the number of elements of GF(7^n) with trace 2 and subtrace 0. Same as the number of elements of GF(7^n) with trace 3 and subtrace 0. Same as the number of elements of GF(7^n) with trace 4 and subtrace 0. Same as the number of elements of GF(7^n) with trace 5 and subtrace 0. Same as the number of elements of GF(7^n) with trace 6 and subtrace 0.
|
|
LINKS
|
|
|
PROG
|
(Sage)
def a(n):
if n==1: return 1
ans = 0
for x in GF(7^n):
if x.charpoly().coefficients(sparse=False)[-3:-1]==[0, 1]: ans += 1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|