5

I'm looking for the number of irreducible polynomials with degree $6$ in $\mathbb{F}_2[X]$ with leading coefficient $1$.

First question: The leading coefficient $1$ is redudant because every polynomial of degree $6$ has leading coefficient $1$?

My solution: The polynomials must be of the form

$$ x^6 + \dots + 1$$

to ensure the degree of $6$ and to ensure that $0$ is not a root. Now we have

$$ \dots + \alpha_5x^5+ \dots +\alpha_1x+ \dots$$

with $\alpha_i \in \mathbb{F}_2$. To avoid that $1$ is root, an odd number of $\alpha_i$ must be $1$. The number of combinations for that would be $\frac{2^{5-1}}{2}= 8.$ Is that correct?

user26857
  • 52,094
Joachim
  • 2,623
  • 4
    Here is an answer to more general question http://mathoverflow.net/questions/101464/the-number-of-irreducible-polynomials-over-mathbb-f-p – Norbert Jul 15 '12 at 18:37

3 Answers3

4

To finish doing it your way - first of all, you've miscounted - there's five numbers between $\alpha_1, \ldots, \alpha_5$, so you really want $2^5/2 = 16$. But there's still some of those polynomials that aren't irreducible: the problem is that just because a degree 6 polynomial doesn't have a root doesn't make it irreducible (that's only true for degree 2 and 3 polynomials). For example, $$ x^6 + x^2 + 1 = (x^3 + x + 1)^2 $$ in characteristic $2$, so it's not irreducible even though it's on your list.

To figure out which ones to throw out, let's write down the possible irreducible factors of a degree 6 polynomial with no linear factors:

possible irreducible quadratic factors: $x^2 + x + 1$

possible irreducible cubic factors: $x^3 + x^2 + 1$, $x^3 + x + 1$.

possible irreducible quartic factors: $x^4 + x^3 + 1$, $x^4 + x + 1$.

In making this last list I throw out $x^4 + x^2 + 1 = (x^2 + x + 1)^2$. I know the other two are irreducible because the only way I'm going to get a reducible quartic with no linear factors is for it to be the square of the quadratic.

We can't have an irreducible quintic factor because the quotient would be linear.

So, what could go wrong? We can partition 6 as $2 + 2 + 2$, $2 + 4$, or $3 + 3$; these are the only partitions that don't use a 1. There's one way to get a degree 6 polynomial by using a quadratic three times; two ways by using a quadratic and a quartic, and four ways by using two cubics.

So we need $16 - 1 - 2 - 4 = 9$. This agrees with the answer using Möbius inversion given on Mathoverflow.

azimut
  • 22,696
4

For variety, a different approach. Each irreducible polynomial degree 6 polynomial has 6 distinct roots $\alpha$ with the property that $\mathbf{F}_2(\alpha) = \mathbf{F}_{64}$. Furthermore, no two distinct polynomials have overlapping roots.

There are 64 elements of $\mathbf{F}_{64}$. Of those:

  • 2 of them lie in $\mathbf{F}_{2}$
  • 4 of them lie in $\mathbf{F}_{4}$
  • 8 of them lie in $\mathbf{F}_{8}$

(these are the only proper subfields). After counting everything carefully, this leaves $54 = 6 \cdot 9$ elements that do not lie in any subfield, and thus 9 irreducible polynomials.

1

Let $f(x) = x^6 + a_5 x^5 + + a_4 x^4 + + a_3 x^3 + + a_2 x^2 + + a_1 x +a_0 \in \mathbb{F}_2[x]$. Assume $f(x)$ is irreducible over $\mathbb{F}_2$.

First, $0$ cannot be its root, so we have $a_0 = 1$. And this means we still need to consider $2^5 = 32$ cases.

Second, $1$ cannot be its root, so only odd number of $a_i$s $(1 \leq i \leq 5)$ can be $1$, and this means either 1 of $a_i$s, or 3 of $a_i$s, or 5 of $a_i$s, can be 1. So the number of cases we need to consider is

$$\begin{pmatrix} 5 \\ 1 \end{pmatrix} + \begin{pmatrix} 5 \\ 3 \end{pmatrix} + \begin{pmatrix} 5 \\ 5 \end{pmatrix} = 5 + 10 + 1 = 16$$

Third, we need to exclude those polynimials s.t. 1 and 0 are not their roots but they can still be written as a product. And since we are assuming that 1 and 0 are not their roots, we only need to consider the factors of degree 2, 3, and 4 with 0 and 1 not their roots.

For factors of degree 2, we have $x^2 + x + 1$

For factors of degree 3, we have $x^3+ x + 1$ and $x^3 + x^2 + 1$

For factors of degree 4, we have $x^4 + x^3 + x^2 + x + 1, x^4+ x^3 + 1, x^4+ x^2 + 1, x^4+ x + 1$

So we need to exclude:

$f_1(x) = (x^2 + x + 1)^3 = x^6+3x^5+6x^4+7x^3+6x^2+3x+1 \equiv x^6 + x^5 + x^3 + x + 1$

$f_2(x) = (x^3+ x + 1)^2 = x^6+2x^4+2x^3+x^2+2x+1 \equiv x^6+x^2+1$

$f_3(x) = (x^3+ x^2 + 1)^2 =x^6+2x^5+x^4+2x^3+2x^2+1 \equiv x^6+x^4+1$

$f_4(x) = (x^3+ x + 1)(x^3+ x^2 + 1) = x^6+x^5+x^4+3x^3+x^2+x+1 \equiv x^6+x^5+x^4+x^3+x^2+x+1$

$f_5(x) = (x^2 + x + 1)(x^4 + x^3 + x^2 + x + 1) = x^6+2x^5+3x^4+3x^3+3x^2+2x+1 \equiv x^6+x^4+x^3+x^2+1$

$f_6(x) = (x^2 + x + 1)(x^4+ x^3 + 1) = x^6+2x^5+2x^4+x^3+x^2+x+1 \equiv x^6+x^3+x^2+x+1$

$f_7(x) = (x^2 + x + 1)(x^4+ x^2 + 1) = x^6+x^5+2x^4+x^3+2x^2+x+1 \equiv x^6 + x^5 + x^3 + x + 1 = f_1(x)$

$f_8(x) = (x^2 + x + 1)(x^4+ x + 1) = x^6+x^5+x^4+x^3+2x^2+2x+1 \equiv x^6+x^5+x^4+x^3+1$

Since $f_1(x) = f_7(x)$ and the polynomials listed above satisfy the condition that 1 and 0 are not their roots, we only need to exclude 7 cases from 16 cases. Therefore, there are $16 - 7 = 9$ cases left, and they are the irreducible degree six polynomials in $\mathbb{F}_2[x]$ that we need. So there are 9 irreducible degree six polynomials in $\mathbb{F}_2[x]$.

ZYX
  • 1,154