A027385 Number of primitive polynomials of degree n over GF(3).
1, 2, 4, 8, 22, 48, 156, 320, 1008, 2640, 7700, 13824, 61320, 170352, 401280, 983040, 3796100, 7838208, 30566592, 62304000, 229686912, 670824000, 2003046356, 3583180800, 15403487000, 48881851200, 128672022528, 314657860608, 1163185915872, 2340264960000, 9947788640064
Offset: 1
Keywords
Links
- Vaclav Kotesovec, Table of n, a(n) for n = 1..200 (terms 1..100 from Seiichi Manyama)
- Eric W. Weisstein, MathWorld: Totient Function
- Wikipedia, Euler's totient function
Programs
-
Maple
A027385 := proc(n) numtheory[phi](3^n-1)/n; end proc:
-
Mathematica
Table[EulerPhi[3^n - 1]/n, {n, 1, 30}] (* Vaclav Kotesovec, Nov 23 2017 *)
-
PARI
a(n) = eulerphi(3^n-1)/n; /* Joerg Arndt, Aug 25 2011 */
Comments