A318622 Number of irreducible factors in the factorization of the n-th cyclotomic polynomial over GF(2) (counted with multiplicity).
1, 1, 1, 2, 1, 1, 2, 4, 1, 1, 1, 2, 1, 2, 2, 8, 2, 1, 1, 2, 2, 1, 2, 4, 1, 1, 1, 4, 1, 2, 6, 16, 2, 2, 2, 2, 1, 1, 2, 4, 2, 2, 3, 2, 2, 2, 2, 8, 2, 1, 4, 2, 1, 1, 2, 8, 2, 1, 1, 4, 1, 6, 6, 32, 4, 2, 1, 4, 2, 2, 2, 4, 8, 1, 2, 2, 2, 2, 2, 8, 1, 2, 1, 4, 8, 3, 2, 4, 8, 2, 6, 4, 6, 2, 2, 16, 2, 2
Offset: 1
Keywords
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
- Jürgen Neukirch, Algebraic_number_theory
- Index entries for sequences operating on GF(2)[X]-polynomials
Programs
-
Maple
f:= proc(n) option remember; numtheory:-phi(n)/numtheory:-order(2, n/2^padic:-ordp(n, 2)) end proc: map(f, [$1..200]);
-
Mathematica
a[n_] := EulerPhi[n]/MultiplicativeOrder[2, n/2^IntegerExponent[n, 2]]; Array[a, 100] (* Jean-François Alcover, Apr 27 2019 *)
-
PARI
a(n) = eulerphi(n)/znorder(Mod(2, (n >> valuation(n, 2)))); \\ Michel Marcus, Apr 27 2019
Comments