Processing math: 52%
Research article

Repeated-root constacyclic codes of length p1pt2ps and their dual codes

  • Received: 18 September 2022 Revised: 25 October 2022 Accepted: 01 November 2022 Published: 30 March 2023
  • MSC : 11T71, 12Y05, 94B15

  • Let Fq be the finite field with q=pk elements, and p1,p2 be two distinct prime numbers different from p. In this paper, we first calculate all the q-cyclotomic cosets modulo p1pt2 as a preparation for the following parts. Then we give the explicit generator polynomials of all the constacyclic codes of length p1pt2ps over Fq and their dual codes. In the rest of this paper, we determine all self-dual cyclic codes of length p1pt2ps and their enumeration. This answers a question recently asked by B. Chen, H.Q.Dinh and Liu. In the last section, we calculate the case of length 5ps as an example.

    Citation: Hongfeng Wu, Li Zhu. Repeated-root constacyclic codes of length p1pt2ps and their dual codes[J]. AIMS Mathematics, 2023, 8(6): 12793-12818. doi: 10.3934/math.2023644

    Related Papers:

    [1] Wei Qi . The polycyclic codes over the finite field Fq. AIMS Mathematics, 2024, 9(11): 29707-29717. doi: 10.3934/math.20241439
    [2] Guanghui Zhang, Shuhua Liang . On the construction of constacyclically permutable codes from constacyclic codes. AIMS Mathematics, 2024, 9(5): 12852-12869. doi: 10.3934/math.2024628
    [3] Xiying Zheng, Bo Kong, Yao Yu . Quantum codes from σ-dual-containing constacyclic codes over Rl,k. AIMS Mathematics, 2023, 8(10): 24075-24086. doi: 10.3934/math.20231227
    [4] Ismail Aydogdu . On double cyclic codes over Z2+uZ2. AIMS Mathematics, 2024, 9(5): 11076-11091. doi: 10.3934/math.2024543
    [5] Xuesong Si, Chuanze Niu . On skew cyclic codes over M2(F2). AIMS Mathematics, 2023, 8(10): 24434-24445. doi: 10.3934/math.20231246
    [6] Fatma Zehra Uzekmek, Elif Segah Oztas, Mehmet Ozen . (θi,λ)-constacyclic codes and DNA codes over Z4+uZ4+u2Z4. AIMS Mathematics, 2024, 9(10): 27908-27929. doi: 10.3934/math.20241355
    [7] Adel Alahmadi, Tamador Alihia, Patrick Solé . The build up construction for codes over a non-commutative non-unitary ring of order 9. AIMS Mathematics, 2024, 9(7): 18278-18307. doi: 10.3934/math.2024892
    [8] Hatoon Shoaib . Double circulant complementary dual codes over F4. AIMS Mathematics, 2023, 8(9): 21636-21643. doi: 10.3934/math.20231103
    [9] Chaofeng Guan, Ruihu Li, Hao Song, Liangdong Lu, Husheng Li . Ternary quantum codes constructed from extremal self-dual codes and self-orthogonal codes. AIMS Mathematics, 2022, 7(4): 6516-6534. doi: 10.3934/math.2022363
    [10] Adel Alahmadi, Altaf Alshuhail, Patrick Solé . The mass formula for self-orthogonal and self-dual codes over a non-unitary commutative ring. AIMS Mathematics, 2023, 8(10): 24367-24378. doi: 10.3934/math.20231242
  • Let Fq be the finite field with q=pk elements, and p1,p2 be two distinct prime numbers different from p. In this paper, we first calculate all the q-cyclotomic cosets modulo p1pt2 as a preparation for the following parts. Then we give the explicit generator polynomials of all the constacyclic codes of length p1pt2ps over Fq and their dual codes. In the rest of this paper, we determine all self-dual cyclic codes of length p1pt2ps and their enumeration. This answers a question recently asked by B. Chen, H.Q.Dinh and Liu. In the last section, we calculate the case of length 5ps as an example.



    As a generalization of cyclic codes and negacyclic codes, constacyclic codes were first introduced by Berlekamp in 1968 [3]. Given a nonzero element λ in a finite filed Fq, a linear code C of length n over Fq is called λ-constacyclic if (λcn1,c0,,cn2)C for every (c0,c1,,cn1)C. Constacyclic codes over finite fields form a remarkable class of linear codes, as it includes the class of cyclic codes and the class of negacyclic codes as proper subclasses. Constacyclic codes have rich algebraic structure so that they can be efficiently encoded and decoded by means of shift registers. Repeated-root constacyclic codes were a special class of constacyclic codes. Repeated-root constacyclic codes were first studied by Castagnoli et al. [4] and van Lint [13], and they showed that repeated-root cyclic codes have a concatenated construction and are not asymptotically good.

    Recently, repeated-root constacyclic codes have been studied by many authors. To determine the generator polynomials of all constacyclic codes of arbitrary length over finite fields is an important problem. Dinh studied repeated-root constacyclic codes of lengths 2ps, 3ps, 4ps and 6ps in a series of papers [8,9,10,11]. He determined the algebraic structure of these repeated-root constacyclic codes over finite fields in terms of their generator polynomials. In [7], Chen et al. introduced an equivalence relation called isometry for the nonzero elements of Fq to classify constacyclic codes of length n over Fq. They have the same distance structures and the same algebraic structures for belonging to the same equivalence classes induced by isometry. Furthermore, in [5], Chen et al. considered a more specified relationship than isometry that enabled us to obtain more explicit description of generator polynomials of all constacyclic codes. According to the equivalence classes, all constacyclic codes of length ps over Fqm and their dual are characterized, where is a prime different from p and s is a positive integer. In 2012, Bakshi and Raka [1] also determined all Λ-constacyclic codes of length 2tps(t1,s0 are integers) over Fpr using different methods from Chen et al.. In 2015, Chen et al. [6] determined the algebraic structure of all constacyclic codes of length 2mps over Fpr and their dual codes in terms of their generator polynomials, where ,p are distinct odd primes and s,m are positive integers. In the conclusion of the paper [6], they proposed an open problem to study all constacyclic codes of length kmps over Fq, where p is the characteristic of Fq, is an odd prime different from p, and k is a prime different from and p. Batoul et al. [2] investigated the structure of constacyclic codes of length 2ampr over Fps with a1 and (m,p)=1. They also provided certain sufficient conditions under which these codes are equivalent to cyclic codes of length 2ampr over Fps. Sharma [16] determined all constacyclic codes of length tps over Fpr and their dual codes, where ,p are distinct primes, is odd and s,t,r are positive integers. In 2016, Sharma et al. [17] determine generator polynomials of all constacyclic codes of length 4mpn over the finite field Fq and their dual codes, where p, are distinct odd primes, q is a power of p and m,n are positive integers. Working in the same direction, Liu et al. obtained generator polynomials of all repeated-root constacyclic codes of length 3ps over Fq in [14], where is an odd prime different from p and 3. In 2017, Liu et al. [15] explicitly determine the generator polynomials of all repeated-root constacyclic codes of length nps over Fq and their dual codes, where is an odd prime different from p, and n is an odd prime different from both and p such that n=2h+1 for some prime h. In 2019, Wu and Yue et al. [19,20] explicitly factorize the polynomial xnλ for each λFq. As applications, they obtain all repeated-root λ-constacyclic codes and their dual codes of length nps over Fq.

    In this paper, we answer the question of B. Chen, H. Dinh and Liu. That is we determine all the constacyclic codes of length p1pt2ps over Fq, where p is the characteristic of Fq, p1 is an odd prime different from p, and p1 is a prime different from p2 and p. We give the explicit generator polynomials of all the constacyclic codes of length p1pt2ps over Fq and their dual codes, and determine all self-dual cyclic codes of length p1pt2ps and their enumeration.

    The remainder of this paper is organized as follows. In Section 2 we give a brief background on some basic results which we need in the following parts. In Section 3, we calculate the q-cyclotomic cosets modulo p1pt2 as a preparation for giving the generator polynomials of constacyclic codes of length p1pt2ps over Fq. In Section 4, we first describe a general method to obtain the generator polynomials of constacyclic codes, and then with this method and the results of q-cyclotomic cosets modulo p1pt2 we give the explicit generator polynomials of all the constacyclic codes of length p1pt2ps. And in Section 5, all the self-dual cyclic codes of length p1pt2ps over Fq are given. In the last section, as an example we calculate the case of length 5ps, where is a prime different from 5 and p.

    In this section, we first review some basic results in number theory and finite fields, which we will in the following parts, and then give a brief introduction to the λ-constacyclic codes. For a positive integer n, we denote by Zn the ring of integers module n throughout this paper. Let p be a prime number, and q be a power of p. We denote by Fq the finite field with q elements, and fix a generator element ξ of the multiplicative group Fq, that is, Fq=ξ. In this paper, we mainly deal with the repeated-root constacyclic codes of length p1pt2ps over Fq, where p1 and p2 are two distinct odd prime numbers different from p. For any positive integer d and i=1,2, we write fi,d=ordpdi(q) for the multiplicative order of q modulo pdi, and set gi,d=ϕ(pdi)fi,d, where ϕ is the Euler's phi function. When d=1, we write fi=fi,1 and gi=gi,1 for simplicity. For i=1,2, there are positive integers ui and wi such that qfi=1+puiiwi and piwi. Following the lifting-the-exponent lemma, we immediately have

    fi,d=fipmax{0,dui}i.

    Lemma 2.1. [12] Assume that r is a primitive root of the odd prime p and (r+tp)p1 is not congruent to 1 modulo p2. Then r+tp is a primitive root of pk for each k1.

    Lemma 2.2. [18] Let n2 be an integer, and λ be a nonzero element in Fq with multiplicative order k=ord(λ). The binomial xnλ is irreducible over Fq if and only if

    (1) Every prime divisor of n divides k, but not q1k;

    (2) If 4n, then 4(q1).

    Let λ be a nonzero element in Fq. A λ-constacyclic code of length n is a linear code C such that (c0,c1,,cn1)C implies (λcn1,c0,,cn2)C. This definition is a natural generalization of cyclic code and negacyclic code. A λ-constacyclic code C of length n over Fq can be regarded as an ideal (g(x)) of the quotient ring Fq[x]/(xnλ), where g(x) is a divisor of xnλ. Let C be a λ-constacyclic code of length n over Fq, then the dual code of code C is given by C={xFnq:xy=0,yC}, where xy denotes the Euclidean inner product of x and y. If C is generated by a polynomial g(x) satisfying g(x)xnλ, and h(x) is given by h(x)=xnλg(x), then h(x) is called the parity check polynomial of code C. It is a classical result that the dual code C is generated by h(x), where h(x)=h(0)1xdeg(h(x))h(x1) is the reciprocal polynomial of h(x). The code C is called to be a self-orthogonal if CC and a self-dual code if C=C. For self-dual cyclic code, a well-known result states that there exist self-dual cyclic codes of length n over Fq if and only if n is even and the characteristic of Fq is p=2.

    There are q1 classes of constacyclic codes of length n over Fq. However, some of them are turned out to be equivalent in the sense that they have the same structure. To be explicit, two elements λ,μFq are called n-equivalent in Fqif there exists aFq such that anλ=μ.

    Lemma 2.3. [5] For any λ,μFq, the following four statements are equivalent:

    (1) λ and μ are n-equivalent in Fq.

    (2) λ1μξn.

    (3) (λ1μ)d=1, where d=q1gcd(n,q1).

    (4) There exists an aFq such that

    φa:Fq[X]/(Xnμ)Fq[X]/(Xnλ);f(X)f(aX)

    is an Fq-algebra isomorphism. In particular, there are gcd(n,q1) n-equivalence classes in Fq.

    We conclude this section with the introduction of q-cyclotomic coset which is important in the computation of constacyclic codes. Let n be a positive integer relatively prime to n. For 0sn1, the q-cyclotomic coset of s modulo n is defined to be

    Cs={s,sq,,sqns1},

    where ns is the least positive integer such that sqnss(modn). It is obvious to see that ns is equal to the multiplicative order of q modulo ngcd(s,n). Notice that if sqasqb(modn) for some positive integers a,b, then

    ssqa+(nsa)sqb+(nsa)(modn).

    It follows that for 0s,sn1, CsCs if and only if Cs=Cs. Therefore the q-cyclotomic cosets give a classification of the element in Zn.

    If α is a primitive nth root of unit in some extension field of Fq, then the polynomial

    Cs(x)=iCs(xαi)

    is exactly the minimal polynomial of αs over Fq, and

    xn1=sCs(x)

    gives the irreducible factorization of xn1 over Fq, where s runs over all representations of distinct q-cyclotomic cosets modulo n. We call Cs(x) the polynomial associated to Cs.

    Let Cs={s,sq,,sqns1} be any q-cyclotomic coset modulo n. The reciprocal coset of Cs is defined to be

    Cs={s,sq,,sqns1}.

    We say that the coset Cs is self-reciprocal if Cs=Cs. One can check that the polynomial Cs(x) associated to the reciprocal coset Cs is exactly the reciprocal polynomial of Cs(x).

    The q-cyclotomic cosets modulo p1pt2 plays an important role in determining all the constacyclic codes of length p1pt2ps. In this section we consider a more general case that classifies all the q-cyclotomic cosets modulo pt11pt22, where p1 and p2 are two distinct odd prime numbers not dividing q, and t1,t2 are positive integers.

    Let be a prime number not dividing q, and μ be a generator of the cyclic group Z. It is obvious that all the q-cyclotomic cosets modulo are given by C0={0} and

    Ck={μk,μkq,,μkqord(q)1}, 1k1ord(q).

    For different odd prime numbers p1 and p2, we claim that there exists an integer μ1 satisfying that:

    (1) μ1 is a primitive root modulo pd1 for all d1; and

    (2) μ11(modp2).

    We begin with a random primitive root η1 modulo p1. If p21η1p111, we let η1=η1, otherwise we let η1=η1+p1. It is trivial to see that η1 satisfies the condition gcd(ηp1111p1,p1)=1. Let μ1=η1+(1η1)pp211, then

    μp1111(η1+(1η1)pp211)p111ηp1111(modp21).

    It follows that

    gcd(μp1111p1,p1)=gcd(ηp1111p1,p1)=1.

    Following Lemma 2.1, μ1 is a primitive root modulo pd1 for all d1 such that μ11(modp2). By the symmetric argument, we can find an integer μ2 satisfying that

    (1) μ2 is a primitive root modulo pd2 for all d1; and

    (2) μ21(modp1).

    We fix such a pair of integers μ1 and μ2.

    Theorem 3.1. Let p1 and p2 be two different odd prime numbers not dividing q, and t1 and t2 be positive integers. Then all the distinct q-cyclotomic cosets module pt11pt22 are given by

    Cμk11μk22pr11pr22={μk11μk22pr11pr22,μk11μk22pr11pr22q,,μk11μk22pr11pr22qcr1,r2}

    for 0r1t1, 0r2t2, 0k1g1,t1r11 and 0k2g2,t2r2gcd(f1,t1r1,f2,t2r2)1, where cr1,r2=ordpt1r11pt2r22(q)=lcm(f1,t1r1,f2,t2r2).

    Proof. First we prove that the given q-cyclotomic cosets are all distinct. If Cμk11μk22pr11pr22=Cμk11μk22pr11pr22 for some 0r1,r1t1, 0r2,r2t2, 0k1,k1g1,t1r11 and 0k2,k2g2,t2r2gcd(f1,t1r1,f2,t2r2)1, then there exists a positive integer m such that

    μk11μk22pr11pr22μk11μk22pr11pr22qm(modpt11pt22). (3.1)

    Since μ1,μ2 and q are relatively prime to pt11pt22, clearly we have r1=r1 and r2=r2, and Eq (3.1) can be reduced to

    μk11μk22μk11μk22qm(modpt1r11pt2r22).

    Remembering that μ11(modp2) and μ21(modp1), then by the Chinese remainder theorem, we have

    μk1k11qm(modpt1r11) (3.2)
    μk2k22qm(modpt2r22) (3.3)

    Equation (3.2) implies that

    μ(k1k1)f1,t1r11qmf1,t1r11(modpt1r11),

    and therefore ϕ(pt1r11)(k1k1)f1,t1r1. Since 0k1,k1g1,t1r11, one must have k1=k1. Notice that k1=k1 indicates that qm1(modpt1r11), then f1,t1r1m, which together with Eq (3.3) leads to

    μ(k2k2)f2,t2r2gcd(f1,t1r1,f2,t2r2)2qmf2,t2r2gcd(f1,t1r1,f2,t2r2)1(modpt2r22).

    Thus ϕ(pt2r22)(k2k2)f2,t2r2gcd(f1,t1r1,f2,t2r2). Since 0k2,k2g2,t2r2gcd(f1,t1r1,f2,t2r2)1, we have k2=k2.

    On the other hand, there are in total

    0r1t10r2t2ϕ(pt1r11)f1,t1r1ϕ(pt2r22)f2,t2r2gcd(f1,t1r1,f2,t2r2)lcm(f1,t1r1,f2,t2r2)=0r1t10r2t2ϕ(pt1r11)ϕ(pt2r22)=pt11pt22 (3.4)

    elements in these q-cyclotomic cosets, therefore they are all the distinct q-cyclotomic cosets module pt11pt22.

    In particular, when t1=1 and t2=t, the classification of the q-cyclotomic cosets modulo p1pt2 is given as follow.

    Corollary 3.1. Let the notations be as above. Then all the distinct q-cyclotomic cosets modulo p1pt2 are

    C0={0};
    Cμk11μk22pr2={μk11μk22pr2,μk11μk22pr2q,,μk11μk22pr2qordp1ptr2(q)1}

    for 0rt1, 0k1g11 and 0k2g2,trgcd(f1,f2,tr);

    Cμk1pt2={μk1pt2,μk1pt2q,,μk1pt2qf11}

    for 0kg11; and

    Cμk2p1pr2={μk2p1pr2,μk2p1pr2q,,μk2p1pr2qf2,tr1}

    for 0rt1 and 0kg2,tr1.

    Corollary 3.2. Let the notations be as aboved. Then the irreducible factorization of xp1pt2ps1 over Fq is given by

    xp1pt2ps1=C0(x)pst1r=0g11k1=0g2,trgcd(f1,f2,tr)1k2=0Cμk11μk22pr2(x)psg11k=0Cμk1pt2(x)pst1r=0g2,tr1k=0Cμk2p1pr2(x)ps.

    In this section, we will determine the generator polynomials of all constacyclic codes of length p1pt2ps over Fq and their dual codes. For λFq, we identify a λ-constacyclic code of length p1pt2ps with an ideal (g(x)) of the quotient ring Fq[x]/(xp1pt2psλ), where g(x) is a divisor of xp1pt2psλ. By Lemma 2.3, there are gcd(p1pt2,q1) p1pt2ps-equivalence classes in Fq, which corresponds to the cosets of ξp1pt2 in Fq=ξ.

    Before doing the explicit computation, we present a general method to factorize xnλ. Let q=pk for k>0, and n=pepe11pemm be the prime factorization of n. Assume that pe11pemmq1, i.e., vpi(q1)ei for i=1,,m. In this case we have

    Fq=ξ=ξpe11pemmξpe11pemmξpeξpe11pemmξpe(pe11pemm1).

    For λξpe11pemmξjpe, where 0jpe11pemm1, there exists an element aFq such that

    anλ=ξjpe.

    We first factorize xnξjpe, 0jpe11pemm1. Notice that j can be written as j=ypv11pvmm, where vi=min{ei,vpi(j)}. Then we have

    xnξjpe=(xpe11pemmξypv11pvmm)pe=ξjpe((xpe1v11pemvmmξy)pv11pvmm1)pe.

    Since pv11pvmmq1, δ=ξq1pv11pvmm is a primitive pv11pvmm-th root of unit. Then

    xnξjpe=ξjpe(xpe1v11pemvmmξy1)pe(xpe1v11pemvmmξyδ)pe(xpe1v11pemvmmξyδpv11pvmm1)pe=(xpe1v11pemvmmξy)pe(xpe1v11pemvmmδξy)pe(xpe1v11pemvmmδpv11pvmm1ξy)pe.

    For 0ipv11pvmm1, δiξy=ξy+iq1pv11pvmm, and then we have

    ord(δiξy)=q1gcd(q1,y+iq1pv11pvmm),

    and

    q1ord(δiξy)=gcd(q1,y+iq1pv11pvmm).

    For each pipe1v11pemvmm, we have that ei>vi and vi=vpi(j), thus piy. Since vpi(q1)ei>vi, piq1pv11pvmm, which indicates that piy+iq1pv11pvmm and piq1y+iq1pv11pvmm. Moreover if 4pe1v11pemvmm, then 4pe11pemmq1. Hence by Lemma 2.2 each xpe1v11pemvmmξyδi is irreducible over Fq.

    Notice that anλ=ξjpe, then the irreducible factorization of xnλ follows immediately:

    xnλ=(xpe1v11pemvmmape1v11pemvmmξy)pe(xpe1v11pemvmmape1v11pemvmmδξy)pe(xpe1v11pemvmmape1v11pemvmmδpv11pvmm1ξy)pe,

    We summerize the above discussions into the following theorem.

    Theorem 4.1. Let p,p1,,pm be distinct prime numbers. Let q=pk and n=pepe11pemm, where k,e,e1,,em are positive integers. Suppose that for 1im, vpi(q1)ei. Then for any λFq, there exists an element aFq such that anλ=ξjpe, 0jpe11pemm. Furthermore, writing j in the form j=ypv11pvmm, where vi=min{ei,vpi(j)}, then

    xnλ=(xpe1v11pemvmmape1v11pemvmmξy)pe(xpe1v11pemvmmape1v11pemvmmδξy)pe(xpe1v11pemvmmape1v11pemvmmδpv11pvmm1ξy)pe,

    gives the irreducible factorization of xnλ over Fq.

    Now we turn to the case that pe11pemmq1. Sinve gcd(pe11pemm,q)=1, thus there exists a least positive integer d such that pe11pemmqd1. By the lifting-the-exponent lemma, if d is the least positive integer such that p1pmqd1, then d=dpv11pvmm, where vi=max{eivpi(qd1),0}.

    Let λ be a nonzero element in Fq. To obtain the irreducible factorization of xnλ over Fq, we first consider the factorization over Fqd. By Theorem 4.1, there exists aFqd such that anλ=ζjpe, 0jpe11pemm1. Writing j as j=ypv11pvmm, where vi=min{ei,vpi(j)}, then

    xnλ=(xpe1v11pemvmmape1v11pemvmmζy)pe(xpe1v11pemvmmape1v11pemvmmδζy)pe(xpe1v11pemvmmape1v11pemvmmδpv11pvmm1ζy)pe,

    gives the irreducible factorization of xnλ over Fqd, where δ is a primitive pv11pvmm-th root of unit. Hence each irreducible factor of xnλ over Fq is of the form

    (xpe1v11pemvmmape1v11pemvmmδiζy)pe(xpe1v11pemvmmaqpe1v11pemvmmδqiζqy)pe(xpe1v11pemvmmaqzi1pe1v11pemvmmδiqzi1ζyqzi1)pe,

    where zi is the least positive integer such that aqzipe1v11pemvmmδiqziζyqzi=ape1v11pemvmmδiζy.

    Now we determine the generator polynomials of all constacyclic codes of length p1pt2ps and their duals explicitly. We decompose the problem into three cases.

    As gcd(q1,p1pt2ps)=1, all constacyclic codes of length p1pt2ps are equivalent to a cyclic code. By the factorization of xp1pt2ps1 given in Corollary 3.2, we have the following result. For any polynomial

    F=a0+a1x++anxn, an0,

    we set ˆF=a1nF to be the monic polynomial associated to F.

    Proposition 4.1. Assume that gcd(q1,p1pt2ps)=1. Then any nonzero element λ in Fq is p1pt2ps-equivalent to 1, that is, there is an element aFq such that ap1pt2psλ=1. Furthermore, the irreducible factorization of xp1pt2psλ over Fq is given by

    xp1pt2psλ=ˆC0(ax)pst1r=0g11k1=0g2,trgcd(f1,f2,tr)1k2=0ˆCμk11μk22pr2(ax)psg11k=0ˆCμk1pt2(ax)pst1r=0g2,tr1k=0ˆCμk2p1pr2(ax)ps.

    Therefore all the constacyclic codes of length p1pt2ps are

    C=(ˆC0(ax)ut1r=0g11k1=0g2,trgcd(f1,f2,tr)1k2=0ˆCμk11μk22pr2(ax)vμk11μk22pr2g11k=0ˆCμk1pt2(ax)wμk1pt2t1r=0g2,tr1k=0ˆCμk2p1pr2(ax)xμk2p1pr2),

    where 0u,vμk11μk22pr2,wμk1pt2,xμk2p1pr2ps, with duals

    C=(ˆC0(a1x)psut1r=0g11k1=0g2,trgcd(f1,f2,tr)1k2=0ˆCμk11μk22pr2(a1x)psvμk11μk22pr2g11k=0ˆCμk1pt2(a1x)pswμk1pt2t1r=0g2,tr1k=0ˆCμk2p1pr2(a1x)psxμk2p1pr2).

    For this case, since p1pt2|q1, the following proposition follows straightly from Theorem 4.1.

    Theorem 4.2. Assume that gcd(q1,p1pt2ps)=p1pt2. Then for any λFq, there exists an element aFq such that ap1pt2psλ=ξjps, 0jp1pt21. Writing j as j=ypv11pv22, where v1=min{1,vp1(j)} and v2=min{t,vp2(j)}, then

    xp1pt2psλ=(xp1v11ptv22ap1v11ptv22ξy)ps(xp1v11ptv22ap1v11ptv22δξy)ps(xp1v11ptv22ap1v11ptv22δpv11pv221ξy)ps

    gives the irreducible factorization of xp1pt2psλ over Fq. Therefore all the λ-constacyclic codes of length p1pt2ps and their dual codes are given by

    C=((xp1v11ptv22ap1v11ptv22ξy)u1(xp1v11ptv22ap1v11ptv22δξy)u2(xp1v11ptv22ap1v11ptv22δpv11pv221ξy)upv11pv22),

    and

    C=((xp1v11ptv22ap1v11ptv22ξy)psu1(xp1v11ptv22ap1v11ptv22δ1ξy)psu2(xp1v11ptv22ap1v11ptv22δ1pv11pv22ξy)psupv11pv22),

    where 0u1,u2,,unv1v2ps.

    In this case, for any d1 we have f2,d=pmax{0,dr}2, and f=lcm(f1,f2,t) is the least positive integer such that qf1(modp1pt2). By the bais results of finite fields, there is a primitive element ζ in Fqf such that ξ=ζqf1q1=ζ1+q++qf1. Then we have

    Fq=ξ=ξpr2ξpr2ξpsξpr2ξ(pr21)ps

    and

    Fqf=ζ=ζp1pt2ζp1pt2ζpsζp1pt2ζ(p1pt21)ps.

    By the assumption that p1pt2qf1 and vp1(q1)=0, vp2(q1)=r, we have that p1ptr2(1+q++qf1). Therefore ξpr2=ζpr2(1+q++qf1)ζp1pt2. Furthermore, for 0jpr21, there exists some 0jp1pt21 such that jps(1+q++qf1)jps(modp1pt2), that is, ξjpsζp1pt2ζjps. Hence we have the following theorem.

    Theorem 4.3. Assume that gcd(q1,p1pt2ps)=pr2, 0<rt. For any 0jpr21, there exists an element aFqf such that ap1pt2psξjps=ζjps. Moreover, each irreducible factor of xp1pt2ξj over Fq is of the form

    (xp1v11ptv22ap1v11ptv22δiζy)(xp1v11ptv22ap1v11ptv22qδiqζyq)(xp1v11ptv22ap1v11ptv22qzi1δiqzi1ζyqzi1),

    where j=ypv11pv22, v1=min{1,vp1(j)}, v2=min{t,vp2(j)}, and zi is the least positive integer such that aqzip1v11ptv22δiqziζyqzi=ap1v11ptv22δiζy.

    For any 0i,ipv11pv221, we define a relation to be such that ii if and only if aqmp1v11ptv22δiqmζyqm=ap1v11ptv22δiζy for some nonnegative integers m. It is obvious to see that is an equivalence relation. Assume that S is a complete system of equivalence class representatives of {0,1,,pv11pv21} relative to this relation . For any iS we denote the irreducible polynomial

    (xp1v11ptv22ap1v11ptv22δiζy)(xp1v11ptv22ap1v11ptv22qδiqζyq)(xp1v11ptv22ap1v11ptv22qzi1δiqzi1ζyqzi1),

    by Mi(x). Then we have the following corollary.

    Corollary 4.1. Assume that gcd(q1,p1pt2ps)=pr2. For any 0jpr21, there exists an element aFqf such that ap1pt2psξjps=ζjps. Then

    xp1pt2psξjps=iSMi(x)ps

    gives the irreducible factorization of xp1pt2psξjps over Fq. Furthermore we have that

    C=(iSMi(x)ui),

    and

    C=(iSMi(x)psui),

    where 0uips, for iS.

    The same argument as in the last section can be applied in this situation, only noticing that the least positive integer f such that qf1(modp1pt2) is f=f2,t=pmax{0,tr}2. We find a primitive element ζ in Fqf such that ξ=ζqf1q1=ζ1+q++qf1, then

    Fq=ξ=ξp1pr2ξp1pr2ξpsξp1pr2ξ(pr21)ps

    and

    Fqf=ζ=ζp1pt2ζp1pt2ζpsζp1pt2ζ(p1pt21)ps.

    By the assumption that p1pt2qf1 and vp2(q1)=r, we have that ptr2(1+q++qf1), and ξp1pr2=ζp1pr2(1+q++qf1)ζp1pt2. Furthermore, for 0jp1pr21, there exists some 0jp1pt21 such that jps(1+q++qf1)jps(modp1pt2), that is, ξjpsζp1pt2ζjps. Hence we have the following theorem.

    Theorem 4.4. Assume that gcd(q1,p1pt2ps)=p1pr2 for 0<r<t, then for any 0jpr21, there exists an element aFqf such that ap1pt2psξjps=ζjps. Moreover, each irreducible factor of xp1pt2ξj over Fq is of the form

    (xp1v11ptv22ap1v11ptv22δiζy)(xp1v11ptv22ap1v11ptv22qδiqζyq)(xp1v11ptv22ap1v11ptv22qzi1δiqzi1ζyqzi1),

    where j=ypv11pv22, v1=min{1,vp1(j)}, v2=min{t,vp2(j)}, and zi is the least positive integer such that aqzip1v11ptv22δiqziζyqzi=ap1v11ptv22δiζy.

    For any 0i,ipv11pv221, we define a relation to be such that ii if and only if aqmp1v11ptv22δiqmζyqm=ap1v11ptv22δiζy for some nonnegative integers m. It is obvious to see that is an equivalence relation. Assume that S is a complete system of equivalence class representatives of {0,1,,pv11pv221} relative to this relation . For any iS we denote the irreducible polynomial

    (xp1v11ptv22ap1v11ptv22δiζy)(xp1v11ptv22ap1v11ptv22qδiqζyq)(xp1v11ptv22ap1v11ptv22qzi1δiqzi1ζyqzi1),

    by Mi(x). Then we have the following corollary.

    Corollary 4.2. Assume that gcd(q1,p1pt2ps)=p1pr2 for 0<r<t. For any 0jpr21, there exists an element aFqf such that ap1pt2psξjps=ζjps. Then

    xp1pt2psξjps=iZMi(x)ps

    gives the irreducible factorization of xp1pt2psξjps over Fq. Furthermore we have that

    C=(iSMi(x)ui),

    and

    C=(iSMi(x)psui),

    where 0uips, for iS.

    Based on the results in the last section, we now give all the self-dual cyclic codes of length p1pt2ps over Fq and their enumeration. It is a well-known conclusion that self-dual cyclic codes of length N over Fq exists if and only if N is even and the characteristic of Fq is 2. Therefore we only consider the case of self-dual cyclic codes of length p1pt22s over F2k.

    Let xp1pt22s1=(xp1pt21)2s=f1(x)2sfn(x)2sh1(x)2shm(x)2sh1(x)2shm(x)2s be the irreducible factorization of xp1pt22s1 over Fq, where each fi(x) is a monic irreducible self-reciprocal polynomial for 1in, and hj(x) is the reciprocal polynomial of hj(x) for each 1jm. Now, given a cyclic code C=(g(x)) of length p1pt22s, it can be written in the form

    g(x)=f1(x)τ1fn(x)τnh1(x)δ1hm(x)δmh1(x)σ1hm(x)σm,

    where 0τi,δj,σj2s for any 1in and 1jm. Then the reciprocal polynomial h(x) of the parity check polynomial h(x) of C is

    h(x)=f1(x)2sτ1fn(x)2sτnh1(x)2sσ1hm(x)2sσmh1(x)2sδ1hm(x)2sδm.

    Therefore it is obvious to see that the following theorem holds.

    Theorem 5.1. With the above notations, we have that C is self-dual if and only if 2τi=2s for 1in, and δj+σj=2s for 1jm.

    Recall the irreducible factorization of xp1pt2ps1 given in Corollary 3.2. Now we determine for each irreducible factor its reciprocal polynomial.

    Lemma 5.1. Let the notations be defined as Corollary 3.1. Then one of the following holds.

    (1) If both f1 and f2 are odd, then we have that

    C0=C0, Cμk1pt2=Cμk1pt2, Cμk2p1pr2=Cμk2p1pr2, Cμk11μk22pr2=Cμk11μk22pr2.

    (2) If f1 is odd and f2 is even, then we have that

    C0=C0, Cμk1pt2=Cμk1pt2, Cμk2p1pr2=Cμk2p1pr2, Cμk11μk22pr2=Cμk11μk22pr2.

    (3) If f1 is even and f2 is odd, then we have that

    C0=C0, Cμk1pt2=Cμk1pt2, Cμk2p1pr2=Cμk2p1pr2, Cμk11μk22pr2=Cμk11μk22pr2.

    (4) If both f_{1} and f_{2} are even, then we have when v_{2}(f_{1})\neq v_{2}(f_{2}) ,

    C_{0}^{*} = C_{0}, \ C_{\mu_{1}^{k}p_{2}^{t}}^{*} = C_{\mu_{1}^{k}p_{2}^{t}}, \ C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}^{*} = C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}, \ C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}^{*} = C_{-\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}},

    when v_{2}(f_{1}) = v_{2}(f_{2}) ,

    C_{0}^{*} = C_{0}, \ C_{\mu_{1}^{k}p_{2}^{t}}^{*} = C_{\mu_{1}^{k}p_{2}^{t}}, \ C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}^{*} = C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}, \ C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}^{*} = C_{-\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}.

    Proof. First it is trivial that the reciprocal of C_{0} is always itself. For C_{\mu_{1}^{k}p_{2}^{t}} , notice that C_{\mu_{1}^{k}p_{2}^{t}}^{*} = C_{\mu_{1}^{k}p_{2}^{t}} if and only if the congruence equation -\mu_{1}^{k}p_{2}^{t}\equiv -\mu_{1}^{k}p_{2}^{t}q^{x} \pmod {p_1p_{2}^{t}} is solvable. Since the equation is equivalent to -1\equiv q^{x} \pmod {p_2^{r}} , then the condition holds if and only if f_{1} = \mathrm{ord}_{p_{1}}(q) is even. In the similar way we can check that C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}^{*} = C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}} if and only if f_{2, t-r} = f_{2}p_{2}^{max\{0, t-r\}} is even. Notice that by assumption p_{2} is odd, therefore the condition holds if and only if f_{2} is even. For C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}} , consider the congruence equation -\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}\equiv \mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}q^{x} \pmod {p_1p_{2}^{t}} . It is equivalent to that -1\equiv q^{x} \pmod {p_1} and -1\equiv q^{x} \pmod {p_2^{t-r}} holds simultaneously. This requires not only both f_{1} and f_{2} are even, but also \gcd(f_{1}, f_{2, t-r})\mid\dfrac{f_{1}-f_{2, t-r}}{2} . And it is trivial to check that the last condition holds if and only if v_{2}(f_{1}) = v_{2}(f_{2, t-r}) = v_{2}(f_{2}) .

    Based on the above lemma, we now determine all the self-dual cyclic codes of length p_{1}p_{2}^{t} and their enumeration.

    Theorem 5.2.

    (1) If both f_{1} and f_{2} are odd, then there exist (2^{s}+1)^{\frac{p_{1}p_{2}^{t}-1}{2}} self-dual cyclic codes of length p_{1}p_{2}^{t} over \mathbb{F}_{2^{k}} , which are given by

    \begin{eqnarray*} &\left((x-1)^{2^{s-1}}\prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k_{1} = 0}^{\frac{g_{1}}{2}-1}\prod\nolimits_{k_{2} = 0}^{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})-1} C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} C_{-\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{2^{s}-v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} \right.\\ &\left.\cdot\prod\nolimits_{k = 0}^{\frac{g_{1}}{2}-1} C_{\mu_{1}^{k}p_{2}^{t}}(x)^{w_{\mu_{1}^{k}p_{2}^{t}}} C_{-\mu_{1}^{k}p_{2}^{t}}(x)^{2^{s}-w_{\mu_{1}^{k}p_{2}^{t}}} \prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k^{\prime} = 0}^{\frac{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})}{2}-1} C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}(x)^{x_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}} C_{-\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}(x)^{2^{s}-x_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}}\right). \end{eqnarray*}

    (2) If f_{1} is odd and f_{2} is even, then there exist (2^{s}+1)^{\frac{p_{1}(p_{2}^{t}-1)}{2}} self-dual cyclic codes of length p_{1}p_{2}^{t} over \mathbb{F}_{2^{k}} , which are given by

    \begin{eqnarray*} &\left((x-1)^{2^{s-1}}\prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k_{1} = 0}^{\frac{g_{1}}{2}-1}\prod\nolimits_{k_{2} = 0}^{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})-1} C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} C_{-\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{2^{s}-v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} \right.\\ &\left.\cdot\prod\nolimits_{k = 0}^{\frac{g_{1}}{2}-1} C_{\mu_{1}^{k}p_{2}^{t}}(x)^{w_{\mu_{1}^{k}p_{2}^{t}}} C_{-\mu_{1}^{k}p_{2}^{t}}(x)^{2^{s}-w_{\mu_{1}^{k}p_{2}^{t}}} \prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k^{\prime} = 0}^{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})-1} C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}(x)^{2^{s-1}} \right). \end{eqnarray*}

    (3) If f_{1} is even and f_{2} is odd, then there exist (2^{s}+1)^{\frac{p_{2}^{t}(p_{1}-1)}{2}} self-dual cyclic codes of length p_{1}p_{2}^{t} over \mathbb{F}_{2^{m}} , which are given by

    \begin{eqnarray*} &\left((x-1)^{2^{s-1}}\prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k_{1} = 0}^{g_{1}-1}\prod\nolimits_{k_{2} = 0}^{\frac{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})}{2}-1} C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} C_{-\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{2^{s}-v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} \right.\\ &\left.\cdot\prod\nolimits_{k = 0}^{g_{1}-1} C_{\mu_{1}^{k}p_{2}^{t}}(x)^{2^{s-1}} \prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k^{\prime} = 0}^{\frac{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})}{2}-1} C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}(x)^{x_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}} C_{-\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}(x)^{2^{s}-x_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}}\right). \end{eqnarray*}

    (4) If both f_{1} and f_{2} are even, then we have when v_{2}(f_{1})\neq v_{2}(f_{2}) , there exist (2^{s}+1)^{\frac{(p_{1}-1)(p_{2}^{t}-1)}{2}} self-dual cyclic codes of length p_{1}p_{2}^{t} over \mathbb{F}_{2^{m}} , which are given by

    \begin{eqnarray*} &\left((x-1)^{2^{s-1}}\prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k_{1} = 0}^{g_{1}-1}\prod\nolimits_{k_{2} = 0}^{\frac{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})}{2}-1} C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} C_{-\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{2^{s}-v_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}} \right.\\ &\left.\cdot\prod\nolimits_{k = 0}^{g_{1}-1} C_{\mu_{1}^{k}p_{2}^{t}}(x)^{2^{s-1}} \prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k^{\prime} = 0}^{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})-1} C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}(x)^{2^{s-1}} \right). \end{eqnarray*}

    When v_{2}(f_{1}) = v_{2}(f_{2}) , there exist only one self-dual cyclic codes of length p_{1}p_{2}^{t} over \mathbb{F}_{2^{m}} , which is given by

    \begin{eqnarray*} &\left((x-1)^{2^{s-1}}\prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k_{1} = 0}^{g_{1}-1}\prod\nolimits_{k_{2} = 0}^{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})-1} C_{\mu_{1}^{k_{1}}\mu_{2}^{k_{2}}p_{2}^{r}}(x)^{2^{s-1}} \right.\\ &\left.\cdot\prod\nolimits_{k = 0}^{g_{1}-1} C_{\mu_{1}^{k}p_{2}^{t}}(x)^{2^{s-1}} \prod\nolimits_{r = 0}^{t-1}\prod\nolimits_{k^{\prime} = 0}^{g_{2, t-r}\gcd(f_{1}, f_{2, t-r})-1} C_{\mu_{2}^{k^{\prime}}p_{1}p_{2}^{r}}(x)^{2^{s-1}} \right). \end{eqnarray*}

    In this section, we illustrate the above process with the example of constacyclic codes of length 5\ell p^{s} , where \ell is a prime number different from 5 and p . We determine all the constacyclic codes of length 5\ell p^{s} and their dual codes over \mathbb{F}_{q} , and then all the self-dual codes of length 5\ell p^{s} are also given.

    First we determine all the q -cyclotomic cosets modulo 5\ell . Let f = \mathrm{ord}_{\ell}(q) , and e = \dfrac{\ell-1}{f} . Then we have:

    (1) \mathrm{ord}_{5\ell}(q) = f , when q\equiv 1 \pmod 5 .

    (2) \mathrm{ord}_{5\ell}(q) = f , when q\equiv 4 \pmod 5 with f even.

    (3) \mathrm{ord}_{5\ell}(q) = 2f , when q\equiv 4 \pmod 5 with f odd.

    (4) \mathrm{ord}_{5\ell}(q) = f , when q\equiv 2 or q\equiv 3 \pmod 5 with 4\mid f .

    (5) \mathrm{ord}_{5\ell}(q) = 2f , when q\equiv 2 or q\equiv 3 \pmod 5 with 2\mid f but 4\nmid f .

    (6) \mathrm{ord}_{5\ell}(q) = 4f , when q\equiv 2 or q\equiv 3 \pmod 5 with f odd.

    As the discussion given in the Section 3, we can find a primitive root \mu modulo \ell^{t} for all t\geq 1 such that \mu\equiv 1 \pmod 5 . The following lemma give more explicit formula for the q -cyclotomic cosets modulo 5\ell .

    Lemma 6.1.

    (1) If q\equiv 1 \pmod 5 , then we have that all the distinct q -cyclotomic cosets modulo 5\ell are given by C_{0} = \{0\} , C_{\ell} = \{\ell\} , C_{2\ell} = \{2\ell\} , C_{-\ell} = \{-\ell\} , C_{-2\ell} = \{-2\ell\} , and C_{a\mu^{k}} = \{a\mu^{k}, a\mu^{k}q, \cdots, a\mu^{k}q^{f-1}\} for a\in R = \{1, 2, -1, -2, 5\} and 0\leq k\leq e-1 .

    (2) If q\equiv 4 \pmod 5 and f is even, we have that all the distinct q -cyclotomic cosets modulo 5\ell are given by C_{0} = \{0\} , C_{\ell} = \{\ell, \ell q\} , C_{2\ell} = \{2\ell, 2\ell q\} , C_{\mu^{k'}} = \{\mu^{k'}, \mu^{k'}q, \cdots, \mu^{k'}q^{f-1}\} , C_{2\mu^{k'}} = \{2\mu^{k'}, 2\mu^{k'}q, \cdots, 2\mu^{k'}q^{f-1}\} for 0\leq k'\leq 2e-1 , and C_{5\mu^{k}} = \{5\mu^{k}, 5\mu^{k}q, \cdots, 5\mu^{k}q^{f-1}\} for 0\leq k\leq e-1 .

    (3) If q\equiv 4 \pmod 5 and f is odd, we have that all the distinct q -cyclotomic cosets modulo 5\ell are given by C_{0} = \{0\} , C_{\ell} = \{\ell, \ell q\} , C_{2\ell} = \{2\ell, 2\ell q\} , C_{\mu^{k}} = \{\mu^{k}, \mu^{k}q, \cdots, \mu^{k}q^{2f-1}\} , C_{2\mu^{k}} = \{2\mu^{k}, 2\mu^{k}q, \cdots, 2\mu^{k}q^{2f-1}\} , and C_{5\mu^{k}} = \{5\mu^{k}, 5\mu^{k}q, \cdots, 5\mu^{k}q^{f-1}\} for 0\leq k\leq e-1 .

    (4) If q\equiv 2 or 3 \pmod 5 and 4\mid f , we have that all the distinct q -cyclotomic cosets modulo 5\ell are given by C_{0} = \{0\} , C_{\ell} = \{\ell, \ell q, \ell q^{2}, \ell q^{3}\} , C_{\mu^{k'}} = \{\mu_{k'}, \mu^{k'}q, \cdots, \mu^{k'}q^{f-1}\} for 0\leq k'\leq 4e-1 , and C_{5\mu^{k}} = \{5\mu^{k}, 5\mu^{k}q, \cdots, 5\mu^{k}q^{f-1}\} for 0\leq k\leq e-1 .

    (5) If q\equiv 2 or 3 \pmod 5 and 2\mid f but 4\nmid f , we have that all the distinct q -cyclotomic cosets modulo 5\ell are given by C_{0} = \{0\} , C_{\ell} = \{\ell, \ell q, \ell q^{2}, lq^{3}\} , C_{\mu^{k'}} = \{\mu_{k'}, \mu^{k'}q, \cdots, \mu^{k'}q^{2f-1}\} for 0\leq k'\leq 2e-1 , and C_{5\mu^{k}} = \{5\mu^{k}, 5\mu^{k}q, \cdots, 5\mu^{k}q^{f-1}\} for 0\leq k\leq e-1 .

    (6) If q\equiv 2 or 3 \pmod 5 and f is odd, we have that all the distinct q -cyclotomic cosets modulo 5\ell are given by C_{0} = \{0\} , C_{\ell} = \{\ell, \ell q, \ell q^{2}, \ell q^{3}\} , C_{\mu^{k}} = \{\mu_{k}, \mu^{k}q, \cdots, \mu^{k}q^{4f-1}\} , and C_{5\mu^{k}} = \{5\mu^{k}, 5\mu^{k}q, \cdots, 5\mu^{k}q^{f-1}\} for 0\leq k\leq e-1 .

    Proof. The methods to prove the above 6 situations are similar, and we will give the proof of the second situation as a instance. First since \mu is a fixed primitive root modulo l such that \mu\equiv 1 \pmod 5 , it is trivial to verify that C_{0} , C_{\ell} , C_{2\ell} , C_{\mu^{k'}} , C_{2\mu^{k'}} for 0\leq k'\leq 2e-1 and C_{5\mu^{k}} for 0\leq k\leq e-1 are q -cyclotomic cosets modulo 5\ell . And then we claim that all these cosets are all distinct. If we have that a_{1}\mu^{k_{1}}\equiv a_{2}\mu^{k_{2}}q^{j} , where a_{1} , a_{2} , k_{1} , k_{2} and j satisfy the definitions in (2). Since

    \gcd(a_{1}, 5\ell ) = \gcd(a_{1}\mu^{k_{1}}, 5\ell ) = \gcd(a_{2}\mu^{k_{2}}q^{j}, 5\ell ) = \gcd(a_{2}, 5\ell ),

    we have that either a_{1} = a_{2} or a_{1}\neq a_{2} and both a_{1} and a_{2} are not equal to 5 . We divide the proof into 2 subcases.

    Subcase 1. If a_{1} = a_{2} , we have that \mu^{k_{1}-k_{2}}\equiv q^{j}\pmod {\ell} and \mu^{(k_{1}-k_{2})f}\equiv 1\pmod {\ell} , therefore \phi(\ell)\mid (k_{1}-k_{2})f and \dfrac{\phi(\ell)}{f}\mid (k_{1}-k_{2}) , which indicates that k_{1} = k_{2} .

    Subcase 2. If a_{1}\neq a_{2} and none of them is equal to 5 , we have that a_{1}a_{2}^{-1}\equiv \mu^{k_{2}-k_{1}}q^{j}\pmod {5\ell} , but notice that a_{1}a_{2}^{-1}\equiv \pm2 \pmod 5 and \mu^{k_{2}-k_{1}}q^{j}\equiv \pm1 \pmod 5 , which is a contradiction. Hence the given cosets are all distinct, and we only need to prove they are all the q -cyclotomic cosets to complete the proof.

    Notice that

    \vert C_{0}\vert+\vert C_{\ell}\vert+\vert C_{2\ell}\vert+\sum\limits_{k' = 0}^{2e-1}\vert C_{\mu^{k'}}\vert+\sum\limits_{k' = 0}^{2e-1}\vert C_{2\mu^{k'}}\vert+\sum\limits_{k = 0}^{e-1}\vert C_{5\mu^{k}}\vert = 5+2ef+2ef+ef = 5(ef+1) = 5(\phi(\ell)+1) = 5\ell.

    Therefore the conclusion holds.

    Theorem 6.1. The irreducible factorization of x^{5\ell }-1 over \mathbb{F}_q is given as follows.

    (1) If q\equiv 1 \pmod 5 , then

    x^{5\ell }-1 = C_{0}(x)C_{\ell}(x)C_{2\ell}(x)C_{3\ell}(x)C_{4\ell}(x)\prod\limits_{a\in R}\prod\limits_{k = 0}^{e-1}C_{a\mu^{k}}(x),

    where R = {1, 2, 3, 4, 5} .

    (2) If q\equiv 4 \pmod 5 and f is even, then

    x^{5\ell }-1 = C_{0}(x)C_{\ell}(x)C_{2\ell}(x)\prod\limits_{k' = 0}^{2e-1}C_{\mu^{k'}}(x)C_{2\mu^{k'}}(x)\prod\limits_{k = 0}^{e-1}C_{5\mu^{k}}(x),

    (3) If q\equiv 4 \pmod 5 and f is odd, then

    x^{5\ell }-1 = C_{0}(x)C_{\ell}(x)C_{2\ell}(x)\prod\limits_{k = 0}^{e-1}C_{\mu^{k}}(x)C_{2\mu^{k}}(x)C_{5\mu^{k}}(x),

    (4) If q\equiv 2 or 3 \pmod 5 and 4\mid f , then

    x^{5\ell }-1 = C_{0}(x)C_{\ell}(x)\prod\limits_{k' = 0}^{4e-1}C_{\mu^{k'}}(x)\prod\limits_{k = 0}^{e-1}C_{5\mu^{k}}(x),

    (5) If q\equiv 2 or 3 \pmod 5 and 2\mid f but 4\nmid f , then

    x^{5\ell }-1 = C_{0}(x)C_{\ell}(x)\prod\limits_{k' = 0}^{2e-1}C_{\mu^{k'}}(x)\prod\limits_{k = 0}^{e-1}C_{5\mu^{k}}(x),

    (6) If q\equiv 2 or 3 \pmod 5 and f is odd, then

    x^{5\ell }-1 = C_{0}(x)C_{\ell}(x)\prod\limits_{k = 0}^{e-1}C_{\mu^{k}}(x)C_{5\mu^{k}}(x),

    With the irreducible factorization of x^{5\ell }-1 , we can straightly follow the process given in Section 4 to calculate all the constacyclic codes of length 5\ell p^{s} over \mathbb{F}_{q} . We list the result as follow.

    Theorem 6.2. Assume that \gcd(q-1, 5\ell p^{s}) = 1 , then \lambda -constacyclic codes C of length 5\ell p^{s} over \mathbb{F}_q are equivalent to the cyclic codes, i.e., for any \lambda\in \mathbb{F}_{q}^* , there exists a unique element a\in \mathbb{F}_{q}^* such that a^{5\ell p^{s}}\lambda = 1 . Furthermore, the irreducible factorization of x^{5\ell p^{s}}-\lambda over \mathbb{F}_q is given by

    (1) If q\equiv 4 \pmod 5 and f is even, then

    x^{5\ell p^{s}}-\lambda = \widehat{C}_{0}(ax)^{p^{s}}\widehat{C}_{\ell}(ax)^{p^{s}}\widehat{C}_{2\ell}(ax)^{p^{s}}\prod\limits_{k' = 0}^{2e-1}\widehat{C}_{\mu^{k'}} (ax)^{p^{s}}\widehat{C}_{2\mu^{k'}}(ax)^{p^{s}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{5\mu^{k}}(ax)^{p^{s}},

    Therefore we have that

    C = \left(\widehat{C}_{0}(ax)^{\varepsilon_{1}}\widehat{C}_{\ell}(ax)^{\varepsilon_{2}}\widehat{C}_{2\ell}(ax)^{\varepsilon_{3}}\prod\limits_{k' = 0}^{2e-1}\widehat{C}_{\mu^{k'}} (ax)^{\tau_{k^{'}}}\widehat{C}_{2\mu^{k'}}(ax)^{\nu_{k^{'}}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{5\mu^{k}}(ax)^{\rho_{k}}\right),

    and

    \begin{eqnarray*} C^{\bot}& = &\left(\widehat{C}_{0}(a^{-1}x)^{p^{s}-\varepsilon_{1}}\widehat{C}_{-\ell}(a^{-1}x)^{p^{s}-\varepsilon_{2}}\widehat{C}_{-2\ell}(a^{-1}x)^{p^{s}-\varepsilon_{3}}\right.\\ &&\times\left.\prod\limits_{k' = 0}^{2e-1}\widehat{C}_{-\mu^{k'}} (a^{-1}x)^{p^{s}-\tau_{k^{'}}}\widehat{C}_{-2\mu^{k'}}(a^{-1}x)^{p^{s}-\nu_{k^{'}}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{-5\mu^{k}}(a^{-1}x)^{p^{s}-\rho_{k}}\right), \end{eqnarray*}

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \varepsilon_{3}, \tau_{k^{'}}, \nu_{k^{'}}, \rho_{k}\leq p^{s} , for any k^{'} = 0, 1, \cdots, 2e-1 , and k = 0, 1, \cdots, e-1 .

    (2) If q\equiv 4 \pmod 5 and f is odd, then

    x^{5\ell p^{s}}-\lambda = \widehat{C}_{0}(ax)^{p^{s}}\widehat{C}_{\ell}(ax)^{p^{s}}\widehat{C}_{2\ell}(ax)^{p^{s}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{\mu^{k}}(ax)^{p^{s}}\widehat{C}_{2\mu^{k}} (ax)^{p^{s}}\widehat{C}_{5\mu^{k}}(ax)^{p^{s}}.

    Therefore we have that

    C = \left(\widehat{C}_{0}(ax)^{\varepsilon_{1}}\widehat{C}_{\ell}(ax)^{\varepsilon_{2}}\widehat{C}_{2\ell}(ax)^{\varepsilon_{3}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{\mu^{k}}(ax)^{\tau_{k}}\widehat{C}_{2\mu^{k}} (ax)^{\nu_{k}}\widehat{C}_{5\mu^{k}}(ax)^{\rho_{k}}\right),

    and

    \begin{eqnarray*} C^{\bot}& = &\left(\widehat{C}_{0}(a^{-1}x)^{p^{s}-\varepsilon_{1}}\widehat{C}_{-\ell}(a^{-1}x)^{p^{s}-\varepsilon_{2}}\widehat{C}_{-2\ell}(a^{-1}x)^{p^{s}-\varepsilon_{3}}\right.\\ &&\times\left.\prod\limits_{k = 0}^{e-1}\widehat{C}_{-\mu^{k}}(a^{-1}x)^{p^{s}-\tau_{k}}\widehat{C}_{-2\mu^{k}} (a^{-1}x)^{p^{s}-\nu_{k}}\widehat{C}_{-5\mu^{k}}(a^{-1}x)^{p^{s}-\rho_{k}}\right), \end{eqnarray*}

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \varepsilon_{3}, \tau_{k}, \nu_{k}, \rho_{k}\leq p^{s} , for k = 0, 1, \cdots, e-1 .

    (3) If q\equiv 2 or 3 \pmod 5 and 4\mid f , then

    x^{5\ell p^{s}}-\lambda = \widehat{C}_{0}(ax)^{p^{s}}\widehat{C}_{\ell}(ax)^{p^{s}}\prod\limits_{k' = 0}^{4e-1}\widehat{C}_{\mu^{k'}}(ax)^{p^{s}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{5\mu^{k}}(ax)^{p^{s}}.

    Therefore we have that

    C = \left(\widehat{C}_{0}(ax)^{\varepsilon_{1}}\widehat{C}_{\ell}(ax)^{\varepsilon_{2}}\prod\limits_{k' = 0}^{4e-1}\widehat{C}_{\mu^{k'}}(ax)^{\tau_{k^{'}}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{5\mu^{k}}(ax)^{\nu_{k}}\right),

    and

    C^{\bot} = \left(\widehat{C}_{0}(a^{-1}x)^{p^{s}-\varepsilon_{1}}\widehat{C}_{-\ell}(a^{-1}x)^{p^{s}-\varepsilon_{2}}\prod\limits_{k' = 0}^{4e-1}\widehat{C}_{-\mu^{k'}}(a^{-1}x)^{p^{s}-\tau_{k^{'}}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{-5\mu^{k}}(a^{-1}x)^{p^{s}-\nu_{k}}\right),

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \tau_{k^{'}}, \nu_{k}\leq p^{s} , for k^{'} = 0, 1, \cdots, 4e-1 , and k = 0, 1, \cdots, e-1 .

    (4) If q\equiv 2 or 3 \pmod 5 and 2\mid f but 4\nmid f , then

    x^{5\ell p^{s}}-\lambda = \widehat{C}_{0}(ax)^{p^{s}}\widehat{C}_{\ell}(ax)^{p^{s}}\prod\limits_{k' = 0}^{2e-1}\widehat{C}_{\mu^{k'}}(ax)^{p^{s}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{5\mu^{k}}(ax)^{p^{s}}.

    Therefore we have that

    C = \left(\widehat{C}_{0}(ax)^{\varepsilon_{1}}\widehat{C}_{\ell}(ax)^{\varepsilon_{2}}\prod\limits_{k' = 0}^{2e-1}\widehat{C}_{\mu^{k'}}(ax)^{\tau_{k^{'}}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{5\mu^{k}}(ax)^{\nu_{k}}\right),

    and

    C^{\bot} = \left(\widehat{C}_{0}(a^{-1}x)^{p^{s}-\varepsilon_{1}}\widehat{C}_{-\ell}(a^{-1}x)^{p^{s}-\varepsilon_{2}}\prod\limits_{k' = 0}^{2e-1}\widehat{C}_{-\mu^{k'}}(a^{-1}x)^{p^{s}-\tau_{k^{'}}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{-5\mu^{k}}(a^{-1}x)^{p^{s}-\nu_{k}}\right),

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \tau_{k^{'}}, \nu_{k}\leq p^{s} , for k^{'} = 0, 1, \cdots, 2e-1 , and k = 0, 1, \cdots, e-1 .

    (5) If q\equiv 2 or 3 \pmod 5 and f is odd, then

    x^{5\ell p^{s}}-\lambda = \widehat{C}_{0}(ax)^{p^{s}}\widehat{C}_{\ell}(ax)^{p^{s}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{\mu^{k}}(ax)^{p^{s}}\widehat{C}_{5\mu^{k}}(ax)^{p^{s}}.

    Therefore we have that

    C = \left(\widehat{C}_{0}(ax)^{\varepsilon_{1}}\widehat{C}_{\ell}(ax)^{\varepsilon_{2}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{\mu^{k}}(ax)^{\tau_{k}}\widehat{C}_{5\mu^{k}}(ax)^{\nu_{k}}\right),

    and

    C^{\bot} = \left(\widehat{C}_{0}(a^{-1}x)^{p^{s}-\varepsilon_{1}}\widehat{C}_{-\ell}(a^{-1}x)^{p^{s}-\varepsilon_{2}}\prod\limits_{k = 0}^{e-1}\widehat{C}_{-\mu^{k}}(a^{-1}x)^{p^{s}-\tau_{k}}\widehat{C}_{-5\mu^{k}}(a^{-1}x)^{p^{s}-\nu_{k}}\right),

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \tau_{k}, \nu_{k}\leq p^{s} , for k = 0, 1, \cdots, e-1 .

    Theorem 6.3. Assume that \gcd(q-1, 5\ell p^{s}) = 5\ell , then \mathbb{F}_{q}^* = \langle\xi\rangle = \langle\xi^{5\ell }\rangle\cup \langle\xi^{5\ell }\rangle\xi^{p^{s}}\cup \cdots\cup \langle\xi^{5\ell }\rangle\xi^{p^{s}(5\ell -1)} . For any \lambda\in \mathbb{F}_{q}^* , there exists an element a\in \mathbb{F}_{q}^* such that a^{5\ell p^{s}}\lambda = \xi^{j\cdot p^{s}} , where 0\leq j\leq 5\ell -1 . Then j can be written as j = y\cdot 5^{v_{1}}\ell^{v_{2}} , where v_{1} = \min\{1, v_{5}(j)\} and v_{2} = \min\{1, v_{\ell}(j)\} . And

    \begin{eqnarray*} x^{n}-\lambda& = &(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\xi^{y})^{p^{s}}(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta\xi^{y})^{p^{s}}\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{5^{v_{1}}\ell^{v_{2}}-1}\xi^{y})^{p^{s}} \end{eqnarray*}

    gives the irreducible factorization of x^{5\ell p^{s}}-\lambda over \mathbb{F}_{q} . Moreover, all the \lambda -constacyclic codes of length 5lp^{s} and their dual codes are given by

    \begin{eqnarray*} C& = &\left((x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\xi^{y})^{\varepsilon_{1}}(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta\xi^{y})^{\varepsilon_{2}}\right.\\ &&\left.\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{5^{v_{1}}\ell^{v_{2}}-1}\xi^{y})^{\varepsilon_{5^{v_{1}}\ell^{v_{2}}}}\right), \end{eqnarray*}

    and

    \begin{eqnarray*} C^{\bot}& = &\left((x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}}\xi^{-y})^{p^{s}-\varepsilon_{1}}(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{-1}\xi^{-y})^{p^{s}-\varepsilon_{2}}\right.\\ &&\left.\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{1-5^{v_{1}}\ell^{v_{2}}}\xi^{-y})^{p^{s}-\varepsilon_{5^{v_{1}}\ell^{v_{2}}}}\right), \end{eqnarray*}

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \cdots, \varepsilon_{5^{v_{1}}\ell^{v_{2}}}\leq p^{s} .

    Theorem 6.4. Assume that \gcd(q-1, 5\ell p^{s}) = 5 , then for any 0\leq j\leq 4 , there exists an element a\in \mathbb{F}_{q^{f}}* such that a^{5\ell p^{s}}\xi^{j\cdot p^{s}} = \zeta^{j'\cdot p^{s}} . Moreover, each irreducible factor of x^{5\ell}-\xi^{j} over \mathbb{F}_{q} is of the form

    \begin{eqnarray*} &&(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'})(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q}\delta^{iq}\zeta^{y'q})\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q^{z_{i}-1}}\delta^{iq^{z_{i}-1}}\zeta^{y'q^{z_{i}-1}}), \end{eqnarray*}

    where j' = y'5^{v_{1}}\ell^{v_{2}} , v_{1} = \min\{1, v_{5}(j')\} , v_{2} = \min\{1, v_{\ell}(j')\} , and z_{i} is the least positive integer such that a^{-q^{z_{i}}5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{iq^{z_{i}}}\zeta^{y'q^{z_{i}}} = a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'} .

    For any 0\leq i, i^{'}\leq 5^{v_{1}}\ell^{v_{2}}-1 , we define a relation \sim to be such that i\sim i^{'} if and only if a^{-q^{m}5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{iq^{m}}\zeta^{y'q^{m}} = a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i^{'}}\zeta^{y'} for some nonnegative integers m . It is obvious to see that \sim is an equivalence relation. Assume that S is a complete system of equivalence class representatives of \{0, 1, \cdots, 5^{v_{1}}\ell^{v_{2}}-1\} relative to this relation \sim . For any i\in S we denote the irreducible polynomial

    \begin{eqnarray*} &&(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'})(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q}\delta^{iq}\zeta^{y'q})\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q^{z_{i}-1}}\delta^{iq^{z_{i}-1}}\zeta^{y'q^{z_{i}-1}}), \end{eqnarray*}

    by M_{i}(x) , and denote

    \begin{eqnarray*} &&(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{-i}\zeta^{-y'})(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}\cdot q}\delta^{-iq}\zeta^{-y'q})\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}\cdot q^{z_{i}-1}}\delta^{-iq^{z_{i}-1}}\zeta^{-y'q^{z_{i}-1}}), \end{eqnarray*}

    by M_{i}^{'}(x) . Then we have the following corollary.

    Corollary 6.1. Assume that \gcd(q-1, 5\ell p^{s}) = 5 . For any 0\leq j\leq 4 , there exists an element a\in \mathbb{F}_{q^{f}}* such that a^{5\ell p^{s}}\xi^{j\cdot p^{s}} = \zeta^{j'\cdot p^{s}} . Then

    x^{5\ell p^{s}}-\xi^{j p^{s}} = \prod\limits_{i\in S}M_{i}(x)^{p^{s}}

    gives the irreducible factorization of x^{5\ell p^{s}}-\xi^{j p^{s}} over \mathbb{F}_q . Furthermore we have that

    C = \left(\prod\limits_{i\in X}M_{i}(x)^{\varepsilon_{i}}\right),

    and

    C^{\bot} = \left(\prod\limits_{i\in X}M_{i}^{'}(x)^{p^{s}-\varepsilon_{i}}\right),

    where 0\leq \varepsilon_{i}\leq p^{s} , for i\in X .

    Theorem 6.5. Assume that \gcd(q-1, 5\ell p^{s}) = \ell , then

    (1) If q\equiv 4 \pmod 5 , for any 0\leq j\leq \ell-1 , the following equations

    j'\equiv 2j\pmod{\ell}\;\mathit{\text{ and }}\;j'\equiv 0 \pmod 5

    have a unique solution j' up to modulo 5\ell . Moreover, each irreducible facotor of x^{5\ell}-\xi^{j} over \mathbb{F}_{q} is of the form

    \begin{eqnarray*} &&(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'})(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q}\delta^{iq}\zeta^{y'q})\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q^{z_{i}-1}}\delta^{iq^{z_{i}-1}}\zeta^{y'q^{z_{i}-1}}), \end{eqnarray*}

    where j' = y'5^{v_{1}}\ell^{v_{2}} , v_{1} = \min\{1, v_{5}(j')\} , v_{2} = \min\{1, v_{\ell}(j')\} , and z_{i} is the least positive integer such that a^{-q^{z_{i}}5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{iq^{z_{i}}}\zeta^{y'q^{z_{i}}} = a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'} .

    (2) If q\equiv 2, 3 \pmod 5 , for any 0\leq j\leq \ell-1 , the following equations

    j'\equiv 4j \pmod{\ell}
    j'\equiv 0 \pmod 5

    have a unique solution j' up to modulo 5\ell . Moreover, each irreducible facotor of x^{5\ell}-\xi^{j} over \mathbb{F}_{q} is of the form

    \begin{eqnarray*} &&(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'})(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q}\delta^{iq}\zeta^{y'q})\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q^{z_{i}-1}}\delta^{iq^{z_{i}-1}}\zeta^{y'q^{z_{i}-1}}), \end{eqnarray*}

    where j' = y'5^{v_{1}}\ell^{v_{2}} , v_{1} = min{1, v_{5}(j')} , v_{2} = min{1, v_{\ell}(j')} , and z_{i} is the least positive integer such that a^{-q^{z_{i}}5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{iq^{z_{i}}}\zeta^{y'q^{z_{i}}} = a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'} .

    For any 0\leq i, i^{'}\leq 5^{v_{1}}\ell^{v_{2}}-1 , we define a relation \sim to be such that i\sim i^{'} if and only if a^{-q^{m}5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{iq^{m}}\zeta^{y'q^{m}} = a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i^{'}}\zeta^{y'} for some nonnegative integer m . It is obvious to see that \sim is an equivalence relation. Assume that S is a complete system of equivalence class representatives of \{0, 1, \cdots, 5^{v_{1}}\ell^{v_{2}}-1\} relative to this relation \sim . For any i\in S we denote the irreducible polynomial

    \begin{eqnarray*} &&(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{i}\zeta^{y'})(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q}\delta^{iq}\zeta^{y'q})\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{-5^{1-v_{1}}\ell^{1-v_{2}}\cdot q^{z_{i}-1}}\delta^{iq^{z_{i}-1}}\zeta^{y'q^{z_{i}-1}}), \end{eqnarray*}

    by M_{i}(x) , and denote

    \begin{eqnarray*} &&(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}}\delta^{-i}\zeta^{-y'})(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}\cdot q}\delta^{-iq}\zeta^{-y'q})\\ &&\cdots(x^{5^{1-v_{1}}\ell^{1-v_{2}}}-a^{5^{1-v_{1}}\ell^{1-v_{2}}\cdot q^{z_{i}-1}}\delta^{-iq^{z_{i}-1}}\zeta^{-y'q^{z_{i}-1}}), \end{eqnarray*}

    by M_{i}^{'}(x) .

    Corollary 6.2. Assume that \gcd(q-1, 5\ell p^{s}) = \ell , then

    (1) If q\equiv 4 \pmod 5 , and j, j^{'} is defined as in the first case of Theorem 5.1, then

    x^{5\ell p^{s}}-\xi^{j p^{s}} = \prod\limits_{i\in X}M_{i}(x)^{p^{s}}

    gives the irreducible factorization of x^{5\ell p^{s}}-\xi^{j p^{s}} over \mathbb{F}_q . Furthermore we have that

    C = \left(\prod\limits_{i\in X}M_{i}(x)^{\varepsilon_{i}}\right),

    and

    C^{\bot} = \left(\prod\limits_{i\in X}M_{i}^{'}(x)^{p^{s}-\varepsilon_{i}}\right),

    where 0\leq \varepsilon_{i}\leq p^{s} , for i\in X .

    (2) If q\equiv 2, 3 \pmod 5 , and j, j^{'} is defined as in the second case of Theorem 5.1, then

    x^{5\ell p^{s}}-\xi^{j p^{s}} = \prod\limits_{i\in X}M_{i}(x)^{p^{s}}

    gives the irreducible factorization of x^{5\ell p^{s}}-\xi^{j p^{s}} over \mathbb{F}_q . Furthermore we have that

    C = \left(\prod\limits_{i\in X}M_{i}(x)^{\varepsilon_{i}}\right),

    and

    C^{\bot} = \left(\prod\limits_{i\in X}M_{i}^{'}(x)^{p^{s}-\varepsilon_{i}}\right),

    where 0\leq \varepsilon_{i}\leq p^{s} , for i\in X .

    Finally we give all the self-dual constacylic codes of length 5\ell p^{s} as the end of this section. Since self-dual cyclic codes of length N over \mathbb{F}_q exists if and only if N is even and the characteristic of \mathbb{F}_q is p = 2 , as in the general case, we only consider the case of self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} .

    Lemma 6.2. Assume that q\equiv 1 \pmod 5 . For the q -cyclotomic cosets, one of the following holds.

    (1) If f = \mathrm{ord}_{\ell}(q) is even, we have that

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{-\ell}, \ C_{2\ell}^{*} = C_{-2\ell}, \ C_{\mu^{k}}^{*} = C_{-\mu^{k}}, \ C_{2\mu^{k}}^{*} = C_{-2\mu^{k}}, \ C_{5\mu^{k}}^{*} = C_{5\mu^{k}},

    where 0\leq k\leq e-1 .

    (2) If f = \mathrm{ord}_{\ell}(q) is odd, we have that

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{-\ell}, \ C_{2\ell}^{*} = C_{-2\ell}, \ C_{\mu^{k}}^{*} = C_{-\mu^{k}}, \ C_{2\mu^{k}}^{*} = C_{-2\mu^{k}}, \ C_{5\mu^{k^{'}}}^{*} = C_{-5\mu^{k^{'}}},

    where \{C_{5\mu^{k}}\} = \{C_{5\mu^{k^{'}}}\}\bigcup \{C_{-5\mu^{k^{'}}}\} , and 0\leq k\leq e-1 , 0\leq k^{'}\leq \dfrac{e}{2}-1 .

    Proof.

    (1) By the definition of reciprocal coset, it is clear that C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{-\ell}, \ C_{2\ell}^{*} = C_{-2\ell}, \ C_{\mu^{k}}^{*} = C_{-\mu^{k}}, \ C_{2\mu^{k}}^{*} = C_{-2\mu^{k}} , thus it remains to prove C_{5\mu^{k}}^{*} = C_{5\mu^{k}} . Let t = \frac{f}{2} . Since f = \mathrm{ord}_{\ell}(q) , it is trivial to see that q^{t}\equiv -1 \pmod \ell , and therefore we have that -5\mu^{k}\equiv 5\mu^{k}q^{t} \pmod {5\ell} . It follows immediately that C_{5\mu^{k}}^{*} = C_{5\mu^{k}} , for 0\leq k\leq e-1 .

    (2) As in the first case, the conclusions that C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{-\ell}, \ C_{2\ell}^{*} = C_{-2\ell}, \ C_{\mu^{k}}^{*} = C_{-\mu^{k}}, \ C_{2\mu^{k}}^{*} = C_{-2\mu^{k}} are clear, and now we prove that C_{5\mu^{k^{'}}}^{*} = C_{-5\mu^{k^{'}}} . To see this, we claim that for any 0\leq k_{1}^{'}, k_{2}^{'}\leq \frac{e}{2}-1 , C_{5\mu^{k_{1}^{'}}}\neq C_{-5\mu^{k_{2}^{'}}} , and \{C_{5\mu^{k}}\} = \{C_{5\mu^{k^{'}}}\}\bigcup \{C_{-5\mu^{k^{'}}}\} . Assume that C_{5\mu^{k_{1}^{'}}} = C_{-5\mu^{k_{2}^{'}}} for some 0\leq k_{1}^{'}, k_{2}^{'}\leq \frac{e}{2}-1 , then we have that 5\mu^{k_{1}^{'}}\equiv -5\mu^{k_{2}^{'}}q^{j} \pmod {5\ell} for some 0\leq j\leq f-1 , which indicates that -\mu^{k_{1}^{'}-k_{2}^{'}}\equiv q^{j} \pmod \ell . Notice that f is odd, therefore we have that -\mu^{f(k_{1}^{'}-k_{2}^{'})}\equiv q^{jf} \equiv 1 \pmod \ell and \mu^{f(k_{1}^{'}-k_{2}^{'})}\equiv -1 \pmod \ell . It follows that \mu^{2f(k_{1}^{'}-k_{2}^{'})}\equiv 1 \pmod \ell , hence \phi(\ell)\mid 2f(k_{1}^{'}-k_{2}^{'}) and \frac{e}{2}\mid k_{1}^{'}-k_{2}^{'} . Since by the condition we have 0\leq k_{1}^{'}, k_{2}^{'}\leq \frac{e}{2}-1 , we deduce that k_{1}^{'} = k_{2}^{'} . Then the equation 5\mu^{k_{1}^{'}}\equiv -5\mu^{k_{2}^{'}}q^{j} \pmod {5\ell} can be reduced to -1\equiv q^{j} \pmod \ell . However, notice that \mathrm{ord}_{\ell}(q) = f is odd, such a positive integer j cannot exist, which is a contradiction. According to this, we have that for any 0\leq k_{1}^{'}, k_{2}^{'}\leq \frac{e}{2}-1 , C_{5\mu^{k_{1}^{'}}}\neq C_{-5\mu^{k_{2}^{'}}} . By comparing the number of elements, it is trivial to verify that \{C_{5\mu^{k}}\} = \{C_{5\mu^{k^{'}}}\}\bigcup \{C_{-5\mu^{k^{'}}}\} holds. Then by the definition of reciprocal coset, one immediately get that C_{5\mu^{k^{'}}}^{*} = C_{-5\mu^{k^{'}}} .

    With the same method we can prove the results for the rest of cases. The proofs will be omitted.

    Lemma 6.3. Assume that q\equiv 4 \pmod 5 . For the q -cyclotomic cosets, one of the following holds.

    (1) If f = 2t is even, then

    (i) when t is even, we have that

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{\ell}, \ C_{2\ell}^{*} = C_{2\ell}, \ C_{\mu^{k}}^{*} = C_{-\mu^{k}}, \ C_{2\mu^{k}}^{*} = C_{-2\mu^{k}}, \ C_{5\mu^{k}}^{*} = C_{5\mu^{k}},

    where \{C_{\mu^{k^{'}}}\} = \{C_{\mu^{k}}\}\bigcup \{C_{-\mu^{k}}\} , \{C_{2\mu^{k^{'}}}\} = \{C_{2\mu^{k}}\}\bigcup \{C_{-2\mu^{k}}\} , for 0\leq k\leq e-1 , 0\leq k^{'}\leq 2e-1 .

    (ii) If t is odd, we have that

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{\ell}, \ C_{2\ell}^{*} = C_{2\ell}, \ C_{\mu^{k^{'}}}^{*} = C_{\mu^{k^{'}}}, \ C_{2\mu^{k^{'}}}^{*} = C_{2\mu^{k^{'}}}, \ C_{5\mu^{k}}^{*} = C_{5\mu^{k}},

    where 0\leq k\leq e-1 , 0\leq k^{'}\leq 2e-1 .

    (2) when f is odd, then

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{\ell}, \ C_{2\ell}^{*} = C_{2\ell}, \ C_{\mu^{k^{'}}}^{*} = C_{-\mu^{k^{'}}}, \ C_{2\mu^{k^{'}}}^{*} = C_{-2\mu^{k^{'}}}, \ C_{5\mu^{k^{'}}}^{*} = C_{-5\mu^{k^{'}}},

    where \{C_{\mu^{k}}\} = \{C_{\mu^{k^{'}}}\}\bigcup \{C_{-\mu^{k^{'}}}\} , \{C_{2\mu^{k}}\} = \{C_{2\mu^{k^{'}}}\}\bigcup \{C_{-2\mu^{k^{'}}}\} , \{C_{5\mu^{k}}\} = \{C_{5\mu^{k^{'}}}\}\bigcup \{C_{-5\mu^{k^{'}}}\} , for 0\leq k\leq e-1, 0\leq k^{'}\leq \frac{e}{2}-1 .

    Lemma 6.4. Assume that q\equiv 2 or 3 \pmod 5 . For the q -cyclotomic cosets, one of the following holds.

    (1) If 4\mid f . Let f = 4t , then

    (i) when t is even, we have that

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{\ell}, \ C_{\mu^{k^{''}}}^{*} = C_{-\mu^{k^{''}}}, \ C_{5\mu^{k}}^{*} = C_{5\mu^{k}},

    where \{C_{\mu^{k^{'}}}\} = \{C_{\mu^{k^{''}}}\}\bigcup \{C_{-\mu^{k^{''}}}\} , for 0\leq k\leq e-1 , 0\leq k^{''}\leq 2e-1 and 0\leq k^{'}\leq 4e-1 .

    (ii) If t is odd, we have that

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{\ell}, \ C_{\mu^{k^{'}}}^{*} = C_{\mu^{k^{'}}}, \ C_{5\mu^{k}}^{*} = C_{5\mu^{k}},

    where 0\leq k\leq e-1 , 0\leq k^{'}\leq 4e-1 .

    (2) If 2\mid f but 4\nmid f , then

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{\ell}, \ C_{\mu^{k}}^{*} = C_{-\mu^{k}}, \ C_{5\mu^{k}}^{*} = B_{5\mu^{k}},

    where \{C_{\mu^{k^{'}}}\} = \{C_{\mu^{k}}\}\bigcup \{C_{-\mu^{k}}\} , for 0\leq k\leq e-1 , 0\leq k^{'}\leq 2e-1 .

    (3) If f is odd, then

    C_{0}^{*} = C_{0}, \ C_{\ell}^{*} = C_{\ell}, \ C_{\mu^{k^{'}}}^{*} = C_{-\mu^{k^{'}}}, \ C_{5\mu^{k^{'}}}^{*} = C_{-5\mu^{k^{'}}},

    where \{C_{\mu^{k}}\} = \{C_{\mu^{k^{'}}}\}\bigcup \{C_{-\mu^{k^{'}}}\} , \{C_{5\mu^{k}}\} = \{C_{5\mu^{k^{'}}}\}\bigcup \{C_{-5\mu^{k^{'}}}\} , for 0\leq k^{'}\leq \frac{e}{2}-1 , 0\leq k\leq e-1 .

    From the above lemmas, we give all the self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} and their enumeration in the following theorems.

    Theorem 6.6. Let q\equiv 1 \pmod 5 , then one of the following holds.

    (1) If f = \mathrm{ord}_{\ell}(q) is even, there exist (2^{s}+1)^{2+2e} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which are given by

    \begin{eqnarray*} &&\left((x-1)^{2^{s-1}}C_{\ell}(x)^{\varepsilon_{1}}C_{-\ell}(x)^{2^{s}-\varepsilon_{1}}C_{2\ell}(x)^{\varepsilon_{2}}C_{-2\ell}(x)^{2^{s}-\varepsilon_{2}}\right.\\ &&\times\left.\prod\limits_{k = 0}^{e-1}C_{\mu^{k}}(x)^{\tau_{k}}C_{-\mu^{k}}(x)^{2^{s}-\tau_{k}}C_{2\mu^{k}}(x)^{\rho_{k}}C_{-2\mu^{k}}(x)^{2^{s}-\rho_{k}}C_{5\mu^{k}}(x)^{2^{s-1}}\right), \end{eqnarray*}

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \tau_{k}, \rho_{k}\leq 2^{s} , for any 0\leq k\leq e-1 .

    (2) If f = \mathrm{ord}_{\ell}(q) is odd, there exist (2^{s}+1)^{2+\dfrac{5e}{2}} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which are given by

    \begin{eqnarray*} &&\left((x-1)^{2^{s-1}}C_{\ell}(x)^{\varepsilon_{1}}C_{-\ell}(x)^{2^{s}-\varepsilon_{1}}C_{2\ell}(x)^{\varepsilon_{2}}C_{-2\ell}(x)^{2^{s}-\varepsilon_{2}}\right.\\ &&\cdot\left.\prod\limits_{k = 0}^{e-1}C_{\mu^{k}}(x)^{\tau_{k}}C_{-\mu^{k}}(x)^{2^{s}-\tau_{k}}C_{2\mu^{k}}(x)^{\rho_{k}}C_{-2\mu^{k}}(x)^{2^{s}-\rho_{k}}\prod\limits_{k^{'} = 0}^{\frac{e}{2}-1}C_{5\mu^{k^{'}}}(x)^{\iota_{k^{'}}}C_{-5\mu^{k^{'}}}(x)^{2^{s}-\iota_{k^{'}}}\right), \end{eqnarray*}

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \tau_{k}, \rho_{k}, \iota_{k^{'}}\leq 2^{s} , for any 0\leq k\leq e-1 and any 0\leq k^{'}\leq \dfrac{e}{2}-1 .

    Proof.

    (1) By Lemma 6.2, any self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} has the form of

    \begin{eqnarray*} &&\left((x-1)^{2^{s-1}}C_{\ell}(x)^{\varepsilon_{1}}C_{-\ell}(x)^{2^{s}-\varepsilon_{1}}C_{2\ell}(x)^{\varepsilon_{2}}C_{-2\ell}(x)^{2^{s}-\varepsilon_{2}}\right.\\ &&\times\left.\prod\limits_{k = 0}^{e-1}C_{\mu^{k}}(x)^{\tau_{k}}C_{-\mu^{k}}(x)^{2^{s}-\tau_{k}}C_{2\mu^{k}}(x)^{\rho_{k}}C_{-2\mu^{k}}(x)^{2^{s}-\rho_{k}}C_{5\mu^{k}}(x)^{2^{s-1}}\right), \end{eqnarray*}

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \tau_{k}, \rho_{k}\leq 2^{s} , for any 0\leq k\leq e-1 . Since each of \varepsilon_{1}, \varepsilon_{2} and \tau_{k}, \rho_{k} , 0\leq k\leq e-1 , has 2^{s}+1 possible values, we have in total (2^{s}+1)^{2+2e} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} .

    (2) By Lemma 6.2, any self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} has the form of

    \begin{eqnarray*} &&\left((x-1)^{2^{s-1}}C_{\ell}(x)^{\varepsilon_{1}}C_{-\ell}(x)^{2^{s}-\varepsilon_{1}}C_{2\ell}(x)^{\varepsilon_{2}}C_{-2\ell}(x)^{2^{s}-\varepsilon_{2}}\right.\\ &&\cdot\left.\prod\limits_{k = 0}^{e-1}C_{\mu g^{k}}(x)^{\tau_{k}}C_{-\mu^{k}}(x)^{2^{s}- \tau_{k}}C_{2\mu^{k}}(x)^{\rho_{k}}C_{-2\mu^{k}}(x)^{2^{s}-\rho_{k}}\prod\limits_{k^{'} = 0}^{\frac{e}{2}-1}C_{5\mu^{k^{'}}}(x)^{\iota_{k^{'}}}C_{-5\mu^{k^{'}}}(x)^{2^{s}-\iota_{k^{'}}}\right), \end{eqnarray*}

    where 0\leq \varepsilon_{1}, \varepsilon_{2}, \tau_{k}, \rho_{k}, \iota_{k^{'}}\leq 2^{s} , for any 0\leq k\leq e-1 and any 0\leq k^{'}\leq \dfrac{e}{2}-1 . Each of \varepsilon_{1}, \varepsilon_{2} , \tau_{k}, \rho_{k}, 0\leq k\leq e-1 , and \iota_{k^{'}} , 0\leq k^{'}\leq \dfrac{e}{2}-1 , has 2^{s}+1 possible values, we have in total (2^{s}+1)^{2+\dfrac{5e}{2}} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} .

    The proofs of theorems for the rest of cases are similar, and we will give them without proofs.

    Theorem 6.7. Let q\equiv 4 \pmod 5 , then one of the following holds.

    (1) If f = 2t is even, then

    (i) when t is even, there exist (2^{s}+1)^{2e} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which are given by

    \left((x-1)^{2^{s-1}}C_{\ell}(x)^{2^{s-1}}C_{2\ell}(x)^{2^{s-1}}\prod\limits_{k = 0}^{e-1}C_{\mu^{k}}(x)^{\tau_{k}}C_{-\mu^{k}}(x)^{2^{s}-\tau_{k}}C_{2g^{k}}(x)^{\rho_{k}}C_{-2g^{k}}(x)^{2^{s}-\rho_{k}}C_{5g^{k}}(x)^{2^{s-1}}\right),

    where 0\leq \tau_{k}, \rho_{k}\leq 2^{s} , for any 0\leq k\leq e-1 .

    (ii) when t is odd, there exists only one self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which is given by

    \left((x-1)^{2^{s-1}}C_{\ell}(x)^{2^{s-1}}C_{2\ell}(x)^{2^{s-1}}\prod\limits_{k^{'} = 0}^{2e-1}C_{\mu^{k^{'}}}(x)^{2^{s-1}}C_{2\mu^{k^{'}}}(x)^{2^{s-1}}\prod\limits_{k = 0}^{e-1}C_{5\mu^{k}}(x)^{2^{s-1}}\right).

    (2) If f is odd, thenthere exist (2^{s}+1)^{3e/2} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which are given by

    \begin{eqnarray*} &&\left((x-1)^{2^{s-1}}C_{\ell}(x)^{2^{s-1}}C_{2\ell}(x)^{2^{s-1}}\right.\\ &&\times\left.\prod\limits_{k^{'} = 0}^{e/2-1}C_{\mu^{k^{'}}}(x)^{\tau_{k^{'}}}C_{-\mu^{k^{'}}}(x)^{2^{s}-\tau_{k^{'}}}C_{2\mu^{k^{'}}}(x)^{\rho_{k^{'}}}C_{-2\mu^{k^{'}}}(x)^{2^{s}-\rho_{k^{'}}}C_{5\mu^{k^{'}}}(x)^{\iota_{k^{'}}}C_{-5\mu^{k^{'}}}(x)^{2^{s}-\iota_{k^{'}}}\right). \end{eqnarray*}

    Theorem 6.8. Let q\equiv 2 or 3 \pmod 5 , then one of the following holds.

    (1) If 4\mid f . Let f = 4t , then

    (i) when t is even, there exist (2^{s}+1)^{2e} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which are given by

    \left((x-1)^{2^{s-1}}C_{\ell}(x)^{2^{s-1}}\prod\limits_{k^{''} = 0}^{2e-1}C_{\mu^{k}}(x)^{\tau_{k^{''}}}C_{-\mu^{k^{''}}}(x)^{2^{s}-\tau_{k^{''}}}\prod\limits_{k = 0}^{e-1}C_{5\mu^{k}}(x)^{2^{s-1}}\right),

    where 0\leq \tau_{k^{''}}\leq 2^{s} , for any 0\leq k^{''}\leq 2e-1 .

    (ii) when t is odd, there exists only one self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which is given by

    \left((x-1)^{2^{s-1}}C_{\ell}(x)^{2^{s-1}}\prod\limits_{k^{'} = 0}^{4e-1}C_{\mu^{k^{'}}}(x)^{2^{s-1}}\prod\limits_{k = 0}^{e-1}C_{5\mu^{k}}(x)^{2^{s-1}}\right),

    (2) If 2\mid f but 4\nmid f , then there exist (2^{s}+1)^{e} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which are given by

    \left((x-1)^{2^{s-1}}C_{\ell}(x)^{2^{s-1}}\prod\limits_{k = 0}^{e-1}C_{\mu^{k}}(x)^{\tau_{k}}C_{-\mu^{k}}(x)^{2^{s}-\tau_{k}}C_{5\mu^{k}}(x)^{2^{s-1}}\right),

    where 0\leq \tau_{k}\leq 2^{s} , for any 0\leq k\leq e-1 .

    (3) If f is odd, then there exist (2^{s}+1)^{e} self-dual cyclic codes of length 5\cdot 2^{s}\ell over \mathbb{F}_{2^{m}} , which are given by

    \left((x-1)^{2^{s-1}}C_{\ell}(x)^{2^{s-1}}\prod\limits_{k^{'} = 0}^{\dfrac{e}{2}-1}C_{\mu^{k^{'}}}(x)^{\tau_{k^{'}}}C_{-\mu^{k^{'}}}(x)^{2^{s}-\tau_{k^{'}}}C_{5\mu^{k^{'}}}(x)^{\iota_{k^{'}}}C_{-5\mu^{k^{'}}}(x)^{2^{s}-\iota_{k^{'}}}\right),

    where 0\leq \tau_{k^{'}}, \iota_{k^{'}}\leq 2^{s} , for any 0\leq k^{'}\leq \dfrac{e}{2}-1 .

    The first author was supported by the Yuyou Team Support Program of North China University of Technology (No. 107051360019XN137/007) and Yujie Talent Project of North China University of Technology(No. 107051360022XN735).

    The authors declare no conflict of interest.



    [1] G. Bakshi, M. Raka, A class of constacyclic codes over a finite field, Finite Fields Th. Appl., 18 (2012), 362–377. http://dx.doi.org/10.1016/j.ffa.2011.09.005 doi: 10.1016/j.ffa.2011.09.005
    [2] A. Batoul, K. Guenda, T. Aaron Gulliver, On repeated-root constacyclic codes of length 2^amp^r over finite field, arXiv: 1505.00356v1.
    [3] E. Berlekamp, Algebraic coding theory, New York: McGraw-Hill Book Company, 1968.
    [4] G. Castagnoli, J. Massey, P. Schoeller, N. von Seemann, On repeated-root cyclic codes, IEEE T. Inform. Theory, 37 (1991), 337–342. http://dx.doi.org/10.1109/18.75249 doi: 10.1109/18.75249
    [5] B. Chen, H. Dinh, H. Liu, Repeated-root constacyclic codes of length \ell p^s and their duals, Discrete Appl. Math., 177 (2014), 60–70. http://dx.doi.org/10.1016/j.dam.2014.05.046 doi: 10.1016/j.dam.2014.05.046
    [6] B. Chen, H. Dinh, H. Liu, Repeated-root constacyclic codes of length 2\ell^m p^n, Finite Fields Th. Appl., 33 (2015), 137–159. http://dx.doi.org/10.1016/j.ffa.2014.11.006 doi: 10.1016/j.ffa.2014.11.006
    [7] B. Chen, Y. Fan, L. Lin, H. Liu, Constacyclic codes over finite fields, Finite Fields Th. Appl., 18 (2012), 1217–1231. http://dx.doi.org/10.1016/j.ffa.2012.10.001 doi: 10.1016/j.ffa.2012.10.001
    [8] H. Dinh, Repeated-root constacyclic codes of length 2p^s, Finite Fields Th. Appl., 18 (2012), 133–143. http://dx.doi.org/10.1016/j.ff a.2011.07.003 doi: 10.1016/j.ffa.2011.07.003
    [9] H. Dinh, Structure of repeated-root constacyclic codes of length 3p^s and their duals, Discrete Math., 313 (2013), 983–991. http://dx.doi.org/10.1016/j.disc.2013.01.024 doi: 10.1016/j.disc.2013.01.024
    [10] H. Dinh, On repeated-root constacyclic codes of length 4p^s, Asian-Eur. J. Math., 6 (2013), 1350020. http://dx.doi.org/10.1142/S1793557113500204 doi: 10.1142/S1793557113500204
    [11] H. Dinh, Repeated-root cyclic and negacyclic codes of length 6p^s, In: Ring theory and its applications, New York: Contemporary Mathematics, 2014, 69–87. http://dx.doi.org/10.1090/conm/609/12150
    [12] G. Hardy, E. Wright, An introduction to the theory of numbers, 5 Eds., Oxford: Clarendon Press, 1984.
    [13] J. Lint, Repeated-root cyclic codes, IEEE T. Inform. Theory, 37 (1991), 343–345. http://dx.doi.org/10.1109/18.75250
    [14] L. Liu, L. Li, X. Kai, S. Zhu, Reapeated-root constacylic codes of length 3\ell p^{s} and their dual codes, Finite Fields Th. Appl., 42 (2016), 269–295. http://dx.doi.org/10.1016/j.ffa.2016.08.005 doi: 10.1016/j.ffa.2016.08.005
    [15] L. Liu, L. Li, L. Wang, S. Zhu, Reapeated-root Constacylic Codes of Length n\ell p^{s}, Discrete Math., 340 (2017), 2250–2261. http://dx.doi.org/10.1016/j.disc.2017.04.018 doi: 10.1016/j.disc.2017.04.018
    [16] A. Sharma, Repeated-root constacyclic codes of length \ell^tp^s and their dual codes, Cryptogr. Commun., 7 (2015), 229–255. http://dx.doi.org/10.1007/s12095-014-0106-5 doi: 10.1007/s12095-014-0106-5
    [17] A. Sharma, S. Rani, Repeated-root constacyclic codes of length 4\ell^mp^n, Finite Fields Th. Appl., 40 (2016), 163–200. http://dx.doi.org/10.1016/j.ffa.2016.04.001 doi: 10.1016/j.ffa.2016.04.001
    [18] Z. Wan, Lectures on finite fields and galois rings, New York: World Scientific, 2011. http://dx.doi.org/10.1142/8250
    [19] Y. Wu, Q. Yue, Factorizations of binomial polynomials and enumerations of LCD and self-dual constacyclic codes, IEEE T. Inform. Theory, 65 (2019), 1740–1751. http://dx.doi.org/10.1109/TIT.2018.2864200 doi: 10.1109/TIT.2018.2864200
    [20] Y. Wu, Q. Yue, S. Fan, Further factorization of x^n-1 over a finite field, Finite Fields Th. Appl., 54 (2018), 197–215. http://dx.doi.org/10.1016/j.ffa.2018.07.007 doi: 10.1016/j.ffa.2018.07.007
  • This article has been cited by:

    1. Qi Zhang, Weiqiong Wang, Shuyu Luo, Yue Li, Repeated-root constacyclic codes of length klp over finite fields, 2025, 101, 10715797, 102542, 10.1016/j.ffa.2024.102542
    2. Jinle Liu, Hongfeng Wu, A Note on Factorization and the Number of Irreducible Factors of xn − λ over Finite Fields, 2025, 13, 2227-7390, 473, 10.3390/math13030473
  • Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1372) PDF downloads(75) Cited by(2)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog