Documente Academic
Documente Profesional
Documente Cultură
Somphong Jitman
Silpakorn University
Factorization of xn − 1
x7 − 1 = (x − 1)(x6 + x5 + x4 + x3 + x2 + x + 1)1
x7 − 1 = (x + 1)(x3 + x + 1)(x3 + x2 + 1)
1
Eisenstein’s criterion: 7 is prime.
S. Jitman SRIM and SCRIM Factors of xn −1 over Finite Fields
How to Factor xn − 1?
SRIM and SCRIM Divisors of xn −1 over Finite Fields
Applications
Factorization of xn − 1 over Fq
iπ
Let ω (=e n ) be an nth root of unity in C. Then xn − 1 can be
factorization in to a product of irreducible factor as follows.
ring factorization
∏
n
C[x] xn − 1 = (x − ω t )
t=1
n−1
∏ 2
(x − 1) pr (x) if n is odd
R[x] xn − 1 = r=1
n−2
∏
2
(x − 1)(x + 1) pr (x) if n is even,
r=1
where pr (x)
∏ = x2 − (ω r + ω −r )x + 1 ∏ ( )
Q[x] xn − 1 = d|n Qd (x), where Qd (x) = x − (ω n/d )k .
1≤k≤d
gcd(k,d)=1
Factorization of xn − 1 over Fq
Hence,
ν n′ ν ′ ν
xn − 1 = xp − 1p = (xn − 1)p .
Factorization of xn − 1 over Fq
∪
r
{0, 1, . . . , n′ − 1} = Cq (ji )
i=0
′ ∏
r
xn − 1 = mi (x),
i=0
∏
where mi (x) = (x − ω ℓ ) is the minimal poly. of ω ji over Fq .
ℓ∈Cq (ji )
Lemma
Let q be a prime power and let n′ be a positive integer such that
gcd(q, n′ ) = 1. Then Cq (j) = {jqi modn′ | 0 ≤ i < ordord(a) (q)}
and |Cq (a)| = ordord(a) (q) for all 0 ≤ a < n′ .
⟨ ⟩
Let F16 = F2 [x]/ 1 + x3 + x4 . Then F16 can be viewed in terms
of α, a root of 1 + x3 + x4 , as follows.
I II III
0 0 0000
1 1 1000
α α 0100
α2 α2 0010
α3 α3 0001
1 + α3 α4 1001
1 + α + α3 α5 1101
1 + α + α2 + α3 α6 1111
1 + α + α2 α7 1110
α + α2 + α3 α8 0111
1 + α2 α9 1010
α + α3 α10 0101
1 + α2 + α3 α11 1011
1 + α α12 1100
α + α2 α13 0110
α2 + α3 α14 0011
m0 (x) = (x − α0 ) = (x − 1)
∏
m1 (x) = (x − αj ) = (x − α)(x − α2 )(x − α4 )(x − α8 ) = x4 + x3 + 1
j∈C1
∏
m3 (x) = (x − αj ) = (x − α3 )(x − α6 )(x − α9 )(x − α12 ) = x4 + x3 + x2 + x + 1
j∈C3
∏
m5 (x) = (x − αj ) = (x − α5 )(x − α10 ) = x2 + x + 1
j∈C5
∏
m7 (x) = (x − αj ) = (x − α7 )(x − α14 )(x − α11 )(x − α13 ) = x4 + x + 1
j∈C7
m0 (x) = x − 1
m1 (x) = (x − α1 )(x − α3 )(x − α9 ) = x3 + x2 + x + 2
m2 (x) = (x − α2 )(x − α6 )(x − α5 ) = x3 + x2 + 2
m4 (x) = (x − α4 )(x − α10 )(x − α12 ) = x3 + 2x2 + 2x + 2
m7 (x) = (x − α7 )(x − α8 )(x − α11 ) = x3 + 2x + 2.
5 Thus
x13 − 1 = (x − 1)(x3 + x2 + x + 2)(x3 + x2 + 2)(x3 + 2x2 + 2x + 2)(x3 + 2x + 2).
Theorem
Let q be a prime power and let n be a positive integer such that
gcd(q, n) = 1. Then the number of monic irreducible divisors of
xn − 1 in Fq [x] is
∑ ϕ(d)
T(q, n) = ,
ordd (q)
d|m
Proof.
′ ∏
Note that xn − 1 = d|n′ Qd (x) and deg(Qd (x)) = ϕ(d).
Lemma
In Fq [x], Qd (x) can be factored into a product of irreducible factors of
the same degree ordd (q).
Example
In F3 [x], let f(x) = x2 + x + 2 and g(x) = x4 + 2x3 + x + 2.
f∗ (x) = 2−1 x2 ((1/x)2 + (1/x) + 2) = 2(1 + x + 2x2 ) =
x2 + 2x + 2 ̸= f(x) is not self-reciprocal.
g∗ (x) = x4 + 2x3 + x + 2 = g(x) is self-reciprocal.
In F2 [x],
x15 − 1 =
(x − 1)(x4 + x3 + 1)(x4 + x3 + x2 + x + 1)(x2 + x + 1)(x4 + x + 1).
S. Jitman SRIM and SCRIM Factors of xn −1 over Finite Fields
How to Factor xn − 1?
SRIM Divisors of xn − 1 over Finite Fields
SRIM and SCRIM Divisors of xn −1 over Finite Fields
SCRIM Divisors of xn − 1 over Finite Fields
Applications
|Bq,n | |Γq,n |
∏ ∏ ( )
n
x −1= fi (x) gi (x)g∗j (x) , (1)
i=1 j=1
where fi (x) is a SRIM polynomial and gj (x) and g∗j (x) are a
RIM polynomial pair for all 1 ≤ i ≤ |Bq,n | and
1 ≤ j ≤ |Γq,n |.
Let
{
1 if there exists a positive integer e such that i|(qe + 1),
χ(q, i) =
0 if i ∤ (qe + 1) for all positive integers e.
Lemma
Let n be a positive integer such that gcd(q, n) = 1. Then the
following statements are equivalent.
mi (x) is SRIM in Fq [x].
Cq (i) = Cq (−i).
χ(q, i) = 1.
∑
In Fq2 [x], the conjugate of a polynomial f(x) = ni=0 fi xi is
defined to be f(x) = f0 + f1 x + · · · + fn xn , where ¯ : Fq2 → Fq2 is
the field automorphism given by α 7→ αq for all α ∈ Fq2 .
|Ωq2 ,n | |Λq2 ,n |
∏ ∏ ( )
n
x −1= fi (x) gi (x)g†j (x) , (3)
i=1 j=1
where fi (x) is a SCRIM polynomial and gj (x) and g†j (x) are
a CRIM polynomial pair for all 1 ≤ i ≤ |Ωq2 ,n | and
1 ≤ j ≤ |Λq2 ,n |.
Let
{
1 if there exists an odd positive integer e such that i|(qe + 1),
λ(q, i) =
0 if i ∤ (qe + 1) for all odd positive integers e.
Lemma
Let n be a positive integer such that gcd(q, n) = 1. Then the
following statements are equivalent.
mi (x) is SCRIM in Fq2 [x].
Cq2 (i) = Cq2 (−qi).
λ(q, i) = 1.
Possible Generalizations
Linear Codes
Example
C = {0000, 1010, 0101, 1111} is a linear code of length 4
over F2 .
D = {00000, 11111} is a linear code of length 5 over F2 .
Example
C = {0000, 1010, 0101, 1111}
⇒ C⊥E = C.
D = {00000, 11111}
⇒ D⊥E = ⟨00000, 11000, 01100, 00110, 00011⟩ and
D ∩ D⊥E = {00000}.
Definition
A linear code C of legth n over Fq is said to be cyclic if
(cn−1 , c0 , c1 , . . . , cn−2 ) ∈ C whenever (c0 , c1 , . . . , cn−1 ) ∈ C.
Example
C = {0000, 1010, 0101, 1111} is cyclic over F2 .
D = {00000, 11111} is cyclic over F2 .
Theorem
Let C be a linear code of length n over Fq . Then C is cyclic if
and only if π(C) is an ideal in the principal ideal ring
Fq [x]/⟨xn − 1⟩.
|Bq,n′ | |Γq,n′ |
∏ ∏
n′ pν pν
gj (x)p g∗j (x)p
n ν ν
x − 1 = (x − 1) = fi (x) ×
i=1 j=1
Proposition
A cyclic code C of length n over Fq with the generator polynomial
G(x) is Euclidean complementary dual if and only if
|Bq,n′ | |Γq,n′ |
∏ ∏
G(x) = fi (x)αi × (gj (x)g∗j (x))βj , where αi , βj ∈ {0, pν }.
i=1 j=1
Proposition
A cyclic code C of length n = 2ν n′ over F2m with the generator
polynomial G(x) is Euclidean self-dual if and only if
|B2m ,n′ | |Γ2m ,n′ |
∏ ∏
gj (x)βj g∗j (x)2 −βj , where
ν−1 ν
G(x) = fi (x)2
i=1 j=1
0 ≤ βj ≤ 2ν .
The number of Euclidean self-dual cyclic codes of length n = 2ν n′
over F2m is (2ν + 1)|Γ2m ,n′ | .
S. Jitman SRIM and SCRIM Factors of xn −1 over Finite Fields
How to Factor xn − 1?
SRIM and SCRIM Divisors of xn −1 over Finite Fields
Applications