login
Number of elements of GF(5^n) with trace 0 and subtrace 2.
7

%I #17 Apr 26 2024 12:25:16

%S 0,2,6,20,150,600,3150,15750,78000,391250,1952500,9768750,48831250,

%T 244125000

%N Number of elements of GF(5^n) with trace 0 and subtrace 2.

%C Same as the number of elements of GF(5^n) with trace 0 and subtrace 3.

%H F. Ruskey, <a href="http://combos.org/TSGF5">Number of Elements of GF(5^n) with given trace and subtrace</a>

%o (Sage)

%o def a(n):

%o ans = 0

%o for x in GF(5^n):

%o if x.charpoly().coefficients(sparse=False)[-3:-1]==[2, 0]: ans += 1

%o return ans # _Robin Visser_, Apr 26 2024

%Y Cf. A074006, A074007, A074009, A074010, A074011, A074012, A074013.

%K nonn,more

%O 1,2

%A _Frank Ruskey_ and Nate Kube, Aug 19 2002

%E a(8)-a(14) from _Robin Visser_, Apr 26 2024