1 Introduction

The BCH codes form a large class of error-correcting cyclic codes that are constructed using finite fields. One of the key features of BCH codes is that during code design, there is a precise control over the number of symbol errors correctable by the code. In particular, it is possible to design binary BCH codes that can correct multiple bit errors. Another advantage of BCH codes is the ease with which they can be decoded, namely, via an algebraic method known as syndrome decoding. This simplifies the design of the decoder for these codes using small low-power electronic hardware.

Cyclic codes were initially considered by Prange (see [1, 2]). After him progress in the theory of cyclic codes for random as well as burst-error correction has been motivated by many coding theorists. The correspondence of cyclic codes with ideals was observed independently by Peterson [3], and Kasami [4]. Though most of the conventional error-correcting codes are principal ideals in the factor ring of a polynomial ring in one indeterminate. In [5], instead of one indeterminate, the authors have given the necessary and sufficient conditions for an ideal to have a single generator while, in [6], they have described all finite commutative principal ideal rings \(\frac {{\mathbb {Z}}_{\text {m}}[x_{1}, \cdots, {x}_{n}]}{J}\), where J is an ideal generated by univariate polynomials.

The extension of a BCH code embedded in a semigroup ring is considered in [7]. A great amount of information regarding rings construction and its corresponding polynomial codes is given in [8]. In [8], Sections 9.1 and 9.2 are devoted to error correcting codes in ring construction closely related to semigroup rings. Particularly, Section 9.1 deals with error-correcting cyclic codes of length l which are in fact the ideals in the group ring F[ G], where F is a field and G is a finite torsion group of order l. However, in [9] and [10], the authors have mentioned about extensions of BCH codes in many ring constructions, where the outcomes can be considered as the special case of semigroup rings.

Through monoid rings, in a sequence of papers [1117], several classes of cyclic codes over a finite unitary commutative ring are constructed. The purpose of these constructions is to address the error correction and the code rate trade off in a smart way. However, for a particular interest in [18], it is established that, there does not exist a binary BCH code of length (n+1)n in the factor ring \(F_{2}\left [x;\frac {1}{2} \mathbb {Z}_{\geq 0}\right ]/\left (\left (x^{\frac {1}{2}}\right)^{(n+1)n}-1\right)\) generated by generalized polynomial \(g\left (x^{\frac {1}{2}}\right)\in F_{2}\left [x;\frac {1}{2} \mathbb {Z}_{\geq 0}\right ]\) of degree 2r corresponding to the length n binary BCH code in F 2[ x]/(x n−1) having generator polynomial g(x)∈ F 2[ x] of degree r. But, there does exist a binary cyclic code of length (n+1)n such that the length n binary BCH code is embedded in it. Besides this, the existence of a binary cyclic \(\left ((n+1)^{3^{k}}-1,(n+1)^{3^{k}}-1-3^{k}r\right)\) code, where k is a positive integer, corresponding to a binary cyclic (n,nr) code is established in [15] by the use of monoid ring \(F_{2}\left [x;\frac {1}{3^{k}}\mathbb {Z}_{\geq 0}\right ]\).

In both papers [18] and [15], the authors cannot show the existence of binary BCH codes corresponding to the length n binary BCH code in F 2[ x]/(x n−1). In this study, we address this issue and construct a binary BCH code using monoid ring \(F_{2}\!\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ],\) where a,b are integers such that a,b>1. We show the existence of non-primitive binary BCH code C bn of length bn using an irreducible polynomial \(p\left (x^{\frac {a}{b}}\right)\in F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) of degree br, corresponding to a given length n binary BCH code C n generated by r degree primitive polynomial p(x a) in \( F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ].\) It is noticed that the binary BCH code C n is embedded in non-primitive BCH code C bn . In this way a link between a primitive and non-primitive BCH code is attained. The length of the binary BCH C bn is well controlled and has better error correction capability as compared to the length (n+1)n binary cyclic code C (n+1)n initiated in [18].

This paper is organized in the following way: Section 2 contains a brief introduction to the monoid rings and a description of binary BCH codes as ideals in the factor ring \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]_{n}=F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]/\left ((x^{a})^{n}-1\right)\), a case parallel to Ham (r,2). Section 3 gives the construction technique of a non-primitive BCH code C bn of length bn in the factor ring \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]_{\textit {bn}}=F_{2}\left [x;\frac {a}{b} \mathbb {Z}_{\geq 0}\right ]/\left (\left (x^{\frac {a}{b}}\right)^{bn}-1\right)\), corresponding to a given length n primitive BCH code C n obtained in Section 2. Moreover, a link has been established between the binary BCH codes C n and C bn . In Section 4, decoding of the binary BCH code C n through the decoding of binary BCH code C bn is explained. Section 5 concludes the study.

2 BCH code C n as ideal in \(F_{2}[\!x;a\mathbb {Z}_{\geq 0}]/((x^{a})^{n}-1)\)

Let (S,∗) be a commutative monoid and F 2 be the binary field. The set of all finitely non-zero functions f from S into F 2 is denoted by F 2[ S]. The set F 2[ S] is a ring with respect to binary operations addition and multiplication defined as: (f+g)(s)=f(s)+g(s) and \( (\,fg)(s)=\sum \limits _{t\ast u=s}f(t)g(u),\) where the symbol \( \sum \limits _{t\ast u=s}\) indicates that the sum is taken over all pairs (t,u) of elements of S such that tu=s, and it is understood that in the situation where s is not expressible in the form tu for any t,uS, then (f g)(s)=0. F 2[ S] is known as the monoid ring of S over F 2. The representation of F 2[ S] will be F 2[ x;S] whenever S is an additive monoid. As there is an isomorphism between additive semigroup S and multiplicative semigroup {x s:sS}, so a non-zero element f of F 2[ x;S] is uniquely represented in the canonical form \(\sum \limits _{i=1}^{n}f(s_{i})x^{s_{i}}=\sum \limits _{i=1}^{n}f_{i}x^{s_{i}}\), where f i ≠0 and s i s j for ij. Of course, the monoid ring F 2[ x;S] is a polynomial ring in one indeterminate if \(S=\mathbb {Z}_{\geq 0}\) (the set of non-negative integers).

The concept of degree and order are not generally defined in monoid rings. However, if we consider S to be a totally ordered monoid, we can define degree and order of an element of monoid ring F 2[ x;S] in the following manner: if \(f=\sum \limits _{i=1}^{n}f_{i}x^{s_{i}}\) is the canonical form of the non-zero element fF 2[ x;S], where s 1<s 2<…<s n , then s n is called the degree of f written as deg(f)=s n and s 1 is the order of f written as o r d(f)=s 1.

A polynomial ring F 2[x] is initially a monoid ring F 2[ x;S], where S is an additive monoid \(\mathbf {\mathbb {Z}}_{\geq 0}\). It can be observed that \(F_{2}[\!x]\subset F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) only when a=1. This forces us to first define cyclic codes using monoid ring \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) and then define cyclic codes using monoid ring \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ].\) As \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\subset F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ],\) also \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\subset F_{2}[\!x]\) for all a≥1. Where both the monoids \(a\mathbb {Z}_{\geq 0}\) and \(\frac {a}{b}\mathbb {Z}_{\geq 0}\) are totally ordered, so degree and order of elements in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) and \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) are defined. The indeterminate of polynomials in monoid rings \( F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) and \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) are respectively given by x a and \(x^{\frac {a}{b}},\) and they behave like an indeterminate x in F 2[ x]. The arbitrary elements in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) and \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) are f(x a)=1+(x a)+(x a)2+…(x a)n and \(f\left (x^{\frac {a}{b}}\right)=1+\left (x^{\frac {a}{b}}\right)+\left (x^{\frac {a}{b}}\right)^{2}+\ldots \left (x^{\frac {a}{b}}\right)^{n}\) and we call them generalized polynomials.

The construction of a BCH code in the factor ring \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]_{n}\) is similar to that of a BCH code in F 2[ x] n , as \( F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\subset F_{2}[\!x].\) For this, let C n be a binary BCH code based on the positive integers c,d,q=2 and n such that 2≤dn with g c d(n,2)=1 and n=2s−1, where s is the degree of a primitive polynomial in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\). Consequently, the length n binary BCH code C n has generator polynomial of degree r given by g(x a)=l c m{m i (x a):i=c,c+1,…,c+d−2}, where m i (x a) are minimal polynomials of ξ i for i=c,c+1,…,c+d−2. Where ξ is the primitive nth root of unity in \(\phantom {\dot {i}\!}F_{2^{s}},\) an s degree Galois field extension of F 2. Since m i (x a) divides (x a)n−1 for each i, it follows that g(x a) divides (x a)n−1. This implies C n =(g(x a)) is a principal ideal in the factor ring \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]_{n}\).

In the following example, primitive BCH code of length 15 is discussed using monoid ring \(F_{2}\left [x;2\mathbb {Z}_{\geq 0}\right ]\).

Example 1.

Let p(x 2)=(x 2)4+(x 2)+1 be a primitive polynomial in \(F_{2}\left [x;2\mathbb {Z}_{0}\right ],\) then we have a primitive BCH code of length n=24−1=15. Let ξ be a primitive root in G F(24), satisfying the relation ξ 4+ξ+1=0. Using this relation we have ξ 15=1, that is ξ is the primitive 15th root of unity. Since g(x 2)=lcm{m i (x 2),i=c,c+1,…,c+d−2}; therefore, first we calculate m i (x 2). By ([19], Theorem 4.4.2), ξ,ξ 2,ξ 4,ξ 8 have same minimal polynomial m 1(x 2)=p(x 2). Similarly we get m 3(x 2)=(x 2)4+(x 2)3+(x 2)2+(x 2)+1,m 5(x 2)=(x 2)2+(x 2)+1 and m 7(x 2)=(x 2)4+(x 2)3+1.

The BCH code with designed distance d=3 has generator polynomial g(x 2)=m 1(x 2)=(x 2)4+(x 2)+1. It has a minimum distance of at least 3 and corrects up to 1 error. Since the generator polynomial is of degree 4, it is therefore a (15,11) code having code rate R=0.733. BCH codes of length 15 with different design distances are discussed in Table 1.

Table 1 BCH codes of length 15

3 BCH codes as ideals in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]_{\textit {bn}}\)

In this section, we investigate the values of b for which there exists a BCH code of length bn in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]_{\textit {bn}},\) corresponding to a length n binary BCH code C n in \( F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]_{n}.\) For this, let C n be a binary BCH code in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]_{n}\) constructed in previous section. Now using the following map \(p\left (x^{a}\right)=p_{0}+p_{1}x^{a}+\ldots +p_{n-1}\left (x^{a}\right)^{n-1}\mapsto p_{0}+p_{1}\left (x^{\frac {a}{b}}\right)^{b}+\ldots +p_{n-1}\left (x^{\frac {a}{b}}\right)^{b(n-1)}=p\left (x^{ \frac {a}{b}}\right),\) we convert the s degree primitive polynomial p(x a) in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) to a bs degree polynomial \(p\left (x^{\frac {a}{b}}\right)\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ].\) This converted polynomial is never primitive; therefore, the corresponding BCH code will also be non-primitive. However, the non-primitive BCH code can be constructed only when \(p\left (x^{\frac {a}{b}}\right)\) is irreducible. Hence, for the construction of a non-primitive BCH code in \( F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]_{\textit {bn}}\), we choose only such a primitive irreducible polynomial p(x a) in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) for which there is an irreducible polynomial \(p\left (x^{\frac {a}{b}}\right)\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ].\)

Particularly for b=2 or 2l, there neither exists a primitive BCH code nor a non-primitive BCH code, since we know that p(x 2)=(p(x))2 in F 2[x], the same result holds in \(F_{2}\left [x;\frac {a}{2}\mathbb {Z}_{\geq 0}\right ].\) Similarly, for s=5,7,11,13,17,… and there multiples we do not find any b for which we have an irreducible polynomial in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\).

For instance, see Table 2 for the list of irreducible polynomials of degree b s in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) corresponding to primitive irreducible polynomial of degree s in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\).

Table 2 Irreducible polynomials \(p\left (x^{\frac {a}{b}}\right)\) against primitive polynomials p(x a)

Table 2 explains that for s=2 and 3 we have b=3 and 7 and for s=4 and 6 we have b=(3,5) and (3,7), respectively, and similarly we have for their multiples. From this, we have the list of BCH codes of length n and b n, where bn divides 2bs−1, mentioned in Table 3.

Table 3 BCH codes of length n and bn w.r.t s

The above discussion can be summed up with the following result.

Proposition 2.

Let \(p\left (x^{a}\right)\in F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) be a primitive irreducible polynomial of degree s ∈{2l,3l,4l,6l}, where \(l\in \mathbb {Z}^{+}.\) Then the corresponding bs degree generalized polynomial \(p\left (x^{\frac {a}{b}}\right)\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) is non-primitive irreducible polynomial for b∈ {3,7,{3,5},{3,7}}, respectively.

Proof.

Let p(x a)=1+x a+…+(x a)s be a primitive irreducible polynomial in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ],\) where s∈{2l,3l,4l,6l}, where \(l\in \mathbb {Z}^{+}\) such that α is its root and \(\alpha ^{2^{s}-1}=1.\) Then the corresponding generalized polynomial \(p\left (x^{\frac {a}{b}}\right)=1+\left (x^{\frac {a}{b}}\right)^{b}+\ldots +\left (x^{\frac {a}{b}}\right)^{bs}\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) has root \(\beta =(p_{\textit {si}})^{M}\in F_{2}^{bs},\) where p si is a primitive element in \(F_{2}^{bs}\) and M is a positive integer such that M(b(2s−1))=2bs−1. This implies \(\beta ^{b(2^{s}-1)}=1\). Hence \(p\left (x^{\frac {a}{b}}\right)\) is not primitive. But, \(p\left (x^{\frac {a}{b}}\right)\) is irreducible over F 2 for b∈{3,7,{3,5},{3,7}}, respectively by ([20], Theorem 5.1 and Example 5.4) where the indeterminate \(x^{\frac {a}{b}}\) behaves as indeterminate x.

Theorem 3.

Let n=2s−1 be the length of primitive BCH code C n , where \(p\left (x^{a}\right)\in F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]\) is a primitive irreducible polynomial of degree s such that \( p\left (x^{\frac {a}{b}}\right)\in F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) is irreducible polynomial of degree b s.

  1. 1)

    Then, for positive integers c ,d ,b n such that 2≤d b n and bn is relatively prime to 2, there exists a non-primitive binary BCH code C bn of length b n, where bn is order of an element \(\phantom {\dot {i}\!}\alpha \in F_{2^{bs}}.\)

  2. 2)

    The non-primitive BCH code C bn of length bn is defined as

    $$\begin{aligned} C_{bn}&=\{v\left(x^{\frac{a}{b}}\right)\in F_{2}\left[\!x;\frac{a}{b} \mathbb{Z} _{\geq 0}\right]_{bn}:v(\alpha^{i})=0\,\text{for all }\\ i&=c^{\prime },c^{\prime}+1,\ldots c^{\prime }+d^{\prime }-2. \end{aligned} $$

Equivalently, C bn is the null space of the matrix

$$H=\left[ \begin{array}{ccccc} 1 & \alpha^{c^{\prime}} & \alpha^{2c^{\prime}} & \ldots & \alpha^{(bn-1)c^{\prime}}\\ 1 & \alpha^{c^{\prime}+1} & \alpha^{2(c^{\prime}+1)} & \ldots & \alpha^{(bn-1)\left(c^{\prime }+1\right)}\\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 1 & \alpha^{c^{\prime}+d^{\prime}-2} & \alpha^{2\left(c^{\prime}+d^{\prime}-2\right)} & \ldots & \alpha^{(bn-1)\left(c^{\prime }+d^{\prime }-2\right)} \end{array} \right]. $$

Proof.

  1. 1)

    Since it is given that the bs degree polynomial \(p\left (x^{\frac {a}{b}}\right)\in F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) is not primitive, so the BCH code constructed through it is also not primitive. Hence the length of the code n≠2bs−1. However, there is an element \(\phantom {\dot {i}\!}\alpha \in F_{2^{bs}}\) of order bn vanishing \(p\left (x^{\frac {a}{ b}}\right).\) Let \(m_{i}\left (x^{\frac {a}{b}}\right)\in F_{2}\left [x;\frac {a}{b} \mathbb {Z}_{0}\right ]\) denotes the minimal polynomial of α i and \(g\left (x^{\frac {a}{b} }\right)\) be the lcm of distinct polynomials among \(m_{i}\left (x^{\frac {a}{b}}\right),\) i=c ,c +1,…,c +d −2; that is,

    $$g\left(x^{\frac{a}{b}}\right)=\text{lcm}\{m_{i}\left(x^{\frac{a}{b}}\right):i=c^{\prime },c^{\prime }+1,\ldots,c^{\prime }+d^{\prime }-2\}. $$

    As \(m_{i}\left (x^{\frac {a}{b}}\right)\) divides \(\left (x^{\frac {a}{b}}\right)^{bn}-1\) for each i, therefore \(g\left (x^{\frac {a}{b}}\right)\) also divides \(\left (x^{\frac {a}{b}}\right)^{bn}-1.\) This implies that C bn is a principal ideal generated by \(g\left (x^{\frac {a}{b}}\right)\) in the factor ring \(F_{2}\left [x;\frac {a}{b} \mathbb {Z}_{\geq 0}\right ]_{\textit {bn}}.\) Hence, C bn is a non-primitive BCH code of length bn over F 2with designed distance d .

  2. 2)

    Let \(v\left (x^{\frac {a}{b}}\right)\in C_{\textit {bn}},\) then \(v\left (x^{\frac {a}{b}}\right)=g\left (x^{\frac {a }{b}}\right)q\left (x^{\frac {a}{b}}\right)\) for some \(q\left (x^{\frac {a}{b}}\right)\in F_{2}\left [\!x;\frac {a}{b} \mathbb {Z}_{\geq 0}\right ],\) where \(g\left (x^{\frac {a}{b}}\right)\) is the generator polynomial of C bn . Hence, v(α i)=0 for all i=c ,c +1,…c +d −2. Conversely, let \(v\left (x^{\frac {a}{b}}\right)\in F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]_{\textit {bn}}\) such that v(α i)=0 for all i=c ,c +1,…c +d −2. Then \(m_{i}\left (x^{\frac {a}{b}}\right)\) divides \(v\left (x^{\frac {a}{b}}\right)\) for all i=c ,c +1,…c +d −2. Hence \(g\left (x^{\frac {a}{b}}\right)\) divides \(v\left (x^{\frac {a}{b}}\right)\), so \(v\left (x^{\frac {a}{b}}\right)\in C_{\textit {bn}}.\)

For the second part, let \(v\left (x^{\frac {a}{b}}\right)=v_{0}+v_{1}\left (x^{\frac {a}{b} }\right)+\ldots \) \( v_{bn-1}\left (x^{\frac {a}{b}}\right)^{bn-1}\in F_{2}\left [x;\frac {a}{b} \mathbb {Z}_{\geq 0}\right ]_{\textit {bn}}.\) Then, v(α i)=0 for all i=c ,c +1,…c +d −2 if and only if H v T=0, where \( v=(v_{0},v_{1},\ldots v_{bn-1})\in F_{2}^{bn}.\) This proves that C bn is the null space of H.

Remark 4.

Corresponding to the (n,k) BCH code C n with generator polynomial g(x a)=p(x a) in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ],\) we have a (b n,b k) BCH code C bn with generating polynomial \(g\left (x^{\frac {a}{b}}\right)=p\left (x^{\frac {a}{b}}\right)\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ].\) This (b n,b k) BCH code C bn is an interleaved code of degree b, capable of correcting a single error burst of length b or less (see [21], Theorem 11.1).

The following example illustrates the construction of a non-primitive BCH code of length bn through \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ].\)

Example 5.

For a primitive polynomial p(x 2)=1+(x 2)+(x 2)4 in \( F_{2}[\!x;2 \mathbb {Z}_{\geq 0}],\) there is a non-primitive irreducible polynomial \(p\left (x^{\frac {2}{3}}\right)=1+\left (x^{\frac {2}{3}}\right)^{3}+\left (x^{\frac {2}{3}}\right)^{12}\) in \(F_{2}\left [x;\frac {2}{3}\mathbb {Z}_{\geq 0}\right ].\) Let \(\alpha \in F_{2^{12}},\phantom {\dot {i}\!}\) satisfies the relation α 12+α 3+1=0. Using this relation, we can compute all the distinct powers of α in G F(212), see Table 4 (it is clear that α has order 45). Here, we have b n=n =3×15=45. To calculate the generating polynomial \(g\left (x^{\frac {2}{3}}\right)\), we first calculate the minimal polynomials which are : \(m_{1}^{\prime }\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{12}+\left (x^{\frac {2}{3}}\right)^{3}+1,\) \(m_{3}^{\prime }\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{4}+\left (x^{\frac {2}{3}}\right)+1,\) \(m_{5}^{\prime }\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{6}+\left (x^{\frac {2}{3}}\right)^{3}+1,\) \(m_{7}^{\prime }\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{12}+\left (x^{\frac {2}{3}}\right)^{9}+1,\) \(m_{9}^{\prime }\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{4}+\left (x^{\frac {2}{3}}\right)^{3}+\left (x^{\frac {2}{3}}\right)^{2}+ \left (x^{\frac {2}{3}}\right)+1,\) \(m_{15}^{\prime }\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{2}+\left (x^{\frac {2}{3}}\right)+1,\) \(m_{21}^{\prime }\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{4}+\left (x^{\frac {2}{3}}\right)^{3}+1.\)

Table 4 Distinct powers of α GF (212)

Which gives the following generating polynomials of BCH codes of length 45 with design distance d =3,5,7,9,15,21 and 45.

$$\begin{array}{@{}rcl@{}} g\left(x^{\frac{2}{3}}\right) &=&1+\left(x^{\frac{2}{3}}\right)^{3}+\left(x^{\frac{2}{3}}\right)^{12},\text{} g\left(x^{\frac{2}{3}}\right)=\left(x^{\frac{2}{3}}\right)^{16}+\left(x^{\frac{2}{3}}\right)^{13}\\[-2pt] &&+\left(x^{\frac{2}{3}}\right)^{12}+\left(x^{\frac{2}{3}}\right)^{7}+\left(x^{\frac{2}{3}}\right)^{3}+\left(x^{\frac{2}{3}}\right)+1\\[-2pt] g\left(x^{\frac{2}{3}}\right) &=&\left(x^{\frac{2}{3}}\right)^{22}+\left(x^{\frac{2}{3}}\right)^{18}+\left(x^{ \frac{2}{3}}\right)^{15}+\left(x^{\frac{2}{3}}\right)^{12}+\left(x^{\frac{2}{3}}\right)^{10}\\[-2pt] &&+\left(x^{\frac{2 }{3}}\right)^{9}+\left(x^{\frac{2}{3}}\right)^{4}+\left(x^{\frac{2}{3}}\right)+1 \\ g\left(x^{\frac{2}{3}}\right) &=&\left(x^{\frac{2}{3}}\right)^{34}+\left(x^{\frac{2}{3}}\right)^{31}+\left(x^{ \frac{2}{3}}\right)^{30}+\left(x^{\frac{2}{3}}\right)^{19}+\left(x^{\frac{2}{3}}\right)^{16}\\[-2pt] &&+\left(x^{\frac{2 }{3}}\right)^{15}+\left(x^{\frac{2}{3}}\right)^{4}+\left(x^{\frac{2}{3}}\right)+1 \\[-2pt] g\left(x^{\frac{2}{3}}\right) &=&\left(x^{\frac{2}{3}}\right)^{38}+\left(x^{\frac{2}{3}}\right)^{37}+\left(x^{ \frac{2}{3}}\right)^{36}+\left(x^{\frac{2}{3}}\right)^{34}+\left(x^{\frac{2}{3}}\right)^{30}\\[-2pt] &&+\left(x^{\frac{2 }{3}}\right)^{23}+\left(x^{\frac{2}{3}}\right)^{22}+\left(x^{\frac{2}{3}}\right)^{21} +\left(x^{\frac{2}{3}}\right)^{19}+\left(x^{\frac{2}{3}}\right)^{15}\\[-2pt] &&+\left(x^{\frac{2}{3}}\right)^{8}+\left(x^{ \frac{2}{3}}\right)^{7}+\left(x^{\frac{2}{3}}\right)^{6}+\left(x^{\frac{2}{3}}\right)^{4}+1 \\[-2pt] g\left(x^{\frac{2}{3}}\right) &=&\left(x^{\frac{2}{3}}\right)^{40}+\left(x^{\frac{2}{3}}\right)^{38}+\left(x^{ \frac{2}{3}}\right)^{35}+\left(x^{\frac{2}{3}}\right)^{34}+\left(x^{\frac{2}{3}}\right)^{32}\\[-2pt] &&+\left(x^{\frac{2 }{3}}\right)^{31}+\left(x^{\frac{2}{3}}\right)^{30}+\left(x^{\frac{2}{3}}\right)^{25} +\left(x^{\frac{2}{3}}\right)^{23}+\left(x^{\frac{2}{3}}\right)^{20}\\[-2pt] &&+\left(x^{\frac{2}{3}}\right)^{19}+\left(x^{ \frac{2}{3}}\right)^{17}+\left(x^{\frac{2}{3}}\right)^{16}+\left(x^{\frac{2}{3}}\right)^{15}+\left(x^{\frac{2 }{3}}\right)^{10}\\[-2pt] &&+\left(x^{\frac{2}{3}}\right)^{8}+\left(x^{\frac{2}{3}}\right)^{5}+\left(x^{\frac{2}{3}}\right)^{4}+\left(x^{\frac{2}{3}}\right)^{2}+\left(x^{ \frac{2}{3}}\right)+1 \\[-2pt] g\left(x^{\frac{2}{3}}\right) &=&\left(x^{\frac{2}{3}}\right)^{44}+\left(x^{\frac{2}{3}}\right)^{43}+\left(x^{ \frac{2}{3}}\right)^{42}+\ldots+\left(x^{\frac{2}{3}}\right)^{2}+\left(x^{\frac{2}{3}}\right)+1 \end{array} $$

Which generates (45,33),(45,29),(45,23),(45,11), (45,7),(45,5) and (45,1) codes and corrects up to 1, 2, 3, 4, 7, 10, and 22 errors having code rate 0.733,0.644,0.511,0.244,0.155,0.11,0.022, respectively. Where the code (45,33) is also capable of correcting any single error burst of length 3 or less by Remark 4.

Table 5 gives comparison between minimum distance, code rate and error correction capability of codes C 15, C 45 in \(F_{2}\left [x;2\mathbb {Z}_{\geq 0}\right ]\), \(F_{2}\left [x;\frac {2}{3}\mathbb {Z}_{\geq 0}\right ]\), respectively.

Table 5 Comparison of codes C15 and C45

Now, we are in position to develop a link between a primitive (n,nr) binary BCH code C n and a non-primitive (b n,b nr ) binary BCH code C bn , where r and r are, respectively, the degrees of their generating polynomials g(x a) and \(g\left (x^{\frac {a}{b}}\right)\).

From Theorem 3(1), it follows that the generalized polynomial \(g\left (x^{\frac {a}{b}}\right)\in F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\) divides \(\left (x^{\frac {a}{b}}\right)^{bn}-1\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]\). So, there is a non-primitive BCH code C bn generated by \( g\left (x^{\frac {a}{b}}\right)\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ]_{\textit {bn}}\). By the same argument, as bn divides n =2bs−1, so \(\left (x^{\frac {a}{b}}\right)^{bn}-1\) divides \(\left (x^{\frac {a}{b}}\right)^{n^{\prime }}-1\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ].\) It follows that \(\left (\left (x^{\frac {a}{b}}\right)^{n^{\prime }}-1\right)\subset \left (\left (x^{\frac {a}{b}}\right)^{bn}-1\right).\) Consequently, third isomorphism theorem for rings gives

$${} \frac{F_{2}\left[x;\frac{a}{b}\mathbb{Z}_{\geq 0}\right]/\left(\left(x^{\frac{a}{b}}\right)^{n^{\prime }}-1\right)}{\left(\!\left(x^{\frac{a}{b}}\right)^{bn}-1\right)/\left(\left(x^{\frac{a}{b}}\right)^{n^{\prime }}-1\right)}\simeq \frac{F_{2}\left[x;\frac{a}{ b}\mathbb{Z}_{\geq 0}\right]}{\left(\!\left(x^{\frac{a}{b}}\right)^{bn}-1\right)}\simeq \frac{F_{2}\left[x;a\mathbb{Z}_{\geq 0}\right]}{\left(\left(x^{a}\right)^{n}-1\right)}. $$

Thus, there is embedding C n C bn \( \hookrightarrow C_{n^{\prime }}\) of codes, whereas C n ,C bn , and \( C_{n^{\prime }}\) are, respectively, primitive BCH, non-primitive BCH and primitive BCH codes. Whereas the embedding C n C bn is defined as:

$${\fontsize{9.3pt}{9.6pt}\selectfont{\begin{aligned}{} a\left(x^{a}\!\right)&=a_{0}+a_{1}\left(x^{a}\right)+\ldots+a_{n-1}\left(x^{a}\right)^{n-1}\mapsto a_{0}+a_{1}\left(x^{\frac{a}{b}}\right)^{b}\\&\quad+\ldots+a_{n-1}\left(x^{\frac{a}{b}}\right)^{b(n-1)}=a\left(x^{\frac{a}{b}}\right). \end{aligned}}} $$

Where a(x a)∈C n and \(a\left (x^{\frac {a}{b}}\right)\in C_{\textit {bn}}.\)

The above discussion shapes the following.

Theorem 6.

Let C n be a primitive binary BCH code of length n=2s−1 generated by r degree polynomial g(x a) in \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ],\) then:

  1. 1)

    There exists a bn length binary non-primitive BCH code C bn generated by br degree polynomial \(g\left (x^{\frac {a}{b}}\right)\) in \(F_{2}\left [x;\frac {a}{b}\mathbb {Z}_{\geq 0}\right ];\) and

  2. 2)

    The binary primitive BCH code C n is embedded in the binary non-primitive BCH code C bn .

Also, we can deduce g(x a) from \(g\left (x^{\frac {a}{b}}\right)\) by substituting x a for y b.

Example 7.

Following Examples 1 and 5:

The BCH codes with designed distance d=3 have generator polynomials g(x 2)=m 1(x 2)=1+(x 2)+(x 2)4 and \(g\left (x^{\frac {2}{3}}\right)=1+\left (x^{ \frac {2}{3}}\right)^{3}+\left (x^{\frac {2}{3}}\right)^{12}\) with the same error correction capability and code rate. The only difference is that the degree, data bits, code length, and check sum of the code C 45 is three times that of code C 15.

Whereas, on letting \(\left (x^{\frac {2}{3}}\right)=y\) in the generating polynomial of (45,29) code, that is x 2=y 3, we get

$$\begin{array}{@{}rcl@{}} g\left(x^{\frac{2}{3}}\right) &=&\left(x^{\frac{2}{3}}\right)^{16}+\left(x^{\frac{2}{3}}\right)^{13}+\left(x^{ \frac{2}{3}}\right)^{12}+\left(x^{\frac{2}{3}}\right)^{7}+\left(x^{\frac{2}{3}}\right)^{3}\\&&+\left(x^{\frac{2}{3 }}\right)+1 \\ g(y) &=&(y)^{16}+(y)^{13}+(y)^{12}+(y)^{7}+(y)^{3}+(y)+1 \\ g\left(y^{3}\right) &=&\left(y^{3}\right)^{16}+\left(y^{3}\right)^{13}+\left(y^{3}\right)^{12}+\left(y^{3}\right)^{7}+\left(y^{3}\right)^{3}+\left(y^{3}\right)+1 \\ g\left(x^{2}\right) &=&\left(x^{2}\right)^{16}+\left(x^{2}\right)^{13}+\left(x^{2}\right)^{12}+\left(x^{2}\right)^{7}+\left(x^{2}\right)^{3}+\left(x^{2}\right)+1 \\ &=&(x^{2})^{13}+(x^{2})^{12}+(x^{2})^{7}+(x^{2})^{3}+1\in F_{2}\left[x;2 \mathbb{Z} _{\geq 0}\right]_{15}. \end{array} $$

Where the generating polynomial (x 2)4+(x 2)+1 divides (x 2)13+(x 2)12+(x 2)7+(x 2)3+1. Hence, the corresponding vector is in (15,11). So (15,11) code is embedded in (45,29) code.

Similarly, in Table 6, we have shown that which code in \(F_{2}\left [x;2 \mathbb {Z} _{\geq 0}\right ]_{15}\) with designed distance d is embedded in a code in \( F_{2}\left [x;\frac {2}{3} \mathbb {Z} _{\geq 0}\right ]_{45}\) with designed distance d .

Table 6 Embedding of codes C15 in C45

The corresponding code vectors of the generating polynomials

$$\begin{array}{@{}rcl@{}} g(x^{2}) &=&(x^{2})^{8}+(x^{2})^{7}+(x^{2})^{6}+(x^{2})^{4}+1~\text{and} \\ g\left(x^{\frac{2}{3}}\right) &=&\left(x^{\frac{2}{3}}\right)^{38}+\left(x^{\frac{2}{3}}\right)^{37}+\left(x^{ \frac{2}{3}}\right)^{36}+\left(x^{\frac{2}{3}}\right)^{34}+\left(x^{\frac{2}{3}}\right)^{30} \\ &&+\left(x^{\frac{2}{3}}\right)^{23}\!+\left(x^{\frac{2}{3}}\right)^{22}\!+\left(x^{\frac{2}{3}}\right)^{21}\!+\left(x^{ \frac{2}{3}}\right)^{19}\!+\left(x^{\frac{2}{3}}\right)^{15} \\ &&+\left(x^{\frac{2}{3}}\right)^{8}+\left(x^{\frac{2}{3}}\right)^{7}+\left(x^{\frac{2}{3}}\right)^{6}+\left(x^{\frac{2}{3}}\right)^{4}+1\,\text{are} \end{array} $$
$$\begin{array}{@{}rcl@{}} v &=&(100010111000000) \\ v^{\prime} &=&(100010111000000 \\ &&100010111000000 \\ &&100010111000000). \end{array} $$

Clearly v is properly contained in v ; in fact, it is repeated three times after a particular pattern. Hence, the generating matrix G of \(g\left (x^{\frac {2}{3}}\right)\) will contain the generating matrix G of g(x 2) such that \(G^{\prime }={\oplus _{1}^{3}}G.\)

The following lemma explains the relation between the minimal polynomials of the narrow sense BCH codes C n and C bn .

Lemma 8.

Let d,d be the design distances of the narrow sense BCH codes C n and C bn , respectively. Then the exponents of the minimal polynomials m i (x a),i=1,3,…, d−1 of the code C n are equal to the exponents of the following minimal polynomials \(m_{b}\left (x^{\frac {a}{b}}\right),\) \(m_{3b}\left (x^{\frac {a}{b}}\right),\) …,\(m_{b(d-1)}\left (x^{\frac {a}{b}}\right)\) of the code C bn with the same number of non-zero terms. The remaining minimal polynomials of the code C bn have exponents three times the exponents of the minimal polynomials m i (x a),i=1,3,…,d−1 of the code C n with same number of non-zero terms.

Proof is straightforward and easily follows from Examples 1 and 2.

4 General decoding principle

As the binary BCH code C n is embedded in the binary non-primitive BCH code C bn , we only describe the decoding principal for the code C bn . We use the decoding procedure which follows the same principle as of the primitive binary BCH code.

Take \(a^{\prime }\in F_{2}^{bn}\) as a received vector. We obtain the syndrome matrix of a , S(a )=a H T. In this way, we calculate a table of syndromes which is useful in determining the error vector e such that S(a )=S(e). So, the decoding of received vector a has done as the transmitted vector v =a e. We adopt the algebraic method for finding e from the syndrome vector S(a ).

Let C bn be the binary non-primitive BCH code with length bn and designed distance d . Let H be the (d −1)×b n matrix over \(F_{2^{bs}}.\phantom {\dot {i}\!}\) We use this matrix to define the syndrome of a vector \(a^{\prime }\in F_{2}^{bn}\) as S(a )=a H T. Writing \(a^{\prime }=\left (a_{0}^{\prime },a_{1}^{\prime },\ldots,a_{bn-1}^{\prime }\right) \) in the polynomial form \(a^{\prime }(x^{\frac {a}{b}})=a_{0}^{\prime }+a_{1}^{\prime }\left (x^{\frac {a}{b}}\right)+a_{2}^{\prime }\left (x^{\frac {a}{b} }\right)^{2}+\ldots +a_{bn-1}^{\prime }\left (x^{\frac {a}{b}}\right)^{bn-1}.\) So, the syndrome of the vector a , S(a ) will be

$${} \left[ \begin{array}{cccc} \!\!a_{0}^{\prime} & a_{1}^{\prime} & \ldots & a_{bn-1}^{\prime} \end{array} \!\!\right]\left[ \begin{array}{cccc} 1 & 1 & \ldots & 1 \\ \alpha^{c^{\prime }} & \alpha^{c^{\prime }+1} & \ldots & \alpha^{c^{\prime }+d^{\prime }-2} \\ \alpha^{2c^{\prime }} & \alpha^{2(c^{\prime }+1)} & \ldots & \alpha^{2(c^{\prime }+d^{\prime }-2)} \\ \vdots & \vdots & \ddots & \vdots \\ \alpha^{(bn-1)c^{\prime }} & \alpha^{(bn-1)(c^{\prime }+1)} & \ldots & \alpha^{(bn-1)(c^{\prime }+d^{\prime }-2)} \end{array} \right], $$

and hence,

$$S\left(a^{\prime}\right)=\left[\! \begin{array}{cccc} S_{c^{\prime}} & S_{c^{\prime}+1} & \ldots & S_{c^{\prime}+d^{\prime }-2} \end{array} \!\right], $$

where \(S_{j}=a_{0}^{\prime }+a_{1}^{\prime }\alpha ^{j}+\ldots a_{bn-1}^{\prime }\alpha ^{(bn-1)j}=a^{\prime }(\alpha ^{j})\) for j=c ,c +1,…,c +d −2. Now, let a codeword vC bn be transmitted and the vector received is a =v +e, where e is the error vector. Then S(e)=S(a ). Let \(e\left (x^{\frac {a}{b}}\right)=e_{0}+e_{1}\left (x^{\frac {a}{b}}\right)+e_{2}\left (x^{\frac {a}{b}}\right)^{2}+\ldots +e_{bn-1}\left (x^{ \frac {a}{b}}\right)^{bn-1}\) be the error polynomial. Suppose i 1,…,i m be the positions where an error has occurred. Then, e i ≠0 if and only if iI={i 1,…,i m }. Hence, \(e\left (x^{\frac {a}{b}}\right)=\sum _{i\in I}e_{i}\left (x^{\frac {a}{b}}\right)^{i}.\) Since the code corrects up to t errors, where \(t=\left \lfloor \frac {d^{\prime }-1}{2}\right \rfloor.\) So we assume mt, that is 2m<d . Since S(e)=S(a ), we have e(α j)=S j for j=c ,c +1,…,c +d −2. Thus the 2m unknowns i 1,…,i m and \( e_{i_{1}},\ldots,e_{i_{m}}\) satisfy the following system of d −1 linear equations in \(e_{i_{1}},\ldots,e_{i_{m}}:\)

$$\sum_{i=I}e_{i}\alpha^{ji}=S_{j},j=c^{\prime },c^{\prime }+1,\ldots,c^{\prime }+d^{\prime }-2\ldots..(1). $$

We first obtain a solution for the error positions i 1,…,i m . We define the error locator polynomial \(f\left (x^{\frac {a}{b}}\right)=f_{0}+f_{1}\left (x^{\frac {a}{b}}\right)+f_{2}\left (x^{\frac {a}{b}}\right)^{2}+\ldots +f_{m-1} \left (x^{\frac {a}{b}}\right)^{m-1}+\left (x^{\frac {a}{b}}\right)^{m}.\) Since f(α i)=0 for each i=I, we have

$$f_{0}+f_{1}\left(\alpha^{i}\right)+\ldots+f_{m-1}\left(\alpha^{i}\right)^{m-1}+\left(\alpha^{i}\right)^{m}=0, $$

On multiplying this equation by e i α ji, we get

$$f_{0}e_{i}\alpha^{ji}+f_{1}e_{i}\alpha^{(j+1)i}+\ldots f_{m-1}e_{i}\alpha^{(j+m-1)i}+e_{i}\alpha^{(j+m)i}=0, $$

for each iI. Summing these m equations for i=i 1,…,i r and using the relations (1), we have

$$f_{0}S_{j}+f_{1}S_{j+1}+\ldots f_{m-1}S_{j+m-1}+S_{j+m}=0, $$

for each j=c ,c +1,…,c +m−1. Thus, the m unknowns f 0,f 1,…,f m−1 satisfy the following m×m system of linear equations:

$${} \left[ \begin{array}{cccc} S_{c} & S_{c+1} & \ldots & S_{c+m-1} \\ S_{c+1} & S_{c+2} & \ldots & S_{c+m} \\ \vdots & \vdots & \ddots & \vdots \\ S_{c+m-1} & S_{c+m} & \ldots & S_{c+2m-2} \end{array} \right] \left[ \begin{array}{c} f_{0} \\ f_{1} \\ \vdots \\ f_{m-1} \end{array} \right] =\left[ \begin{array}{c} S_{c+m} \\ S_{c+m+1} \\ \vdots \\ S_{c+2m-1} \end{array} \right].\,.\,.\,.\,.(2) $$

Let S denote the coefficient matrix in the above linear system. It can be verified by direct computation that S=V D V T, where

$$\begin{aligned} V&=\left[ \begin{array}{cccc} 1 & 1 & \ldots & 1 \\ \alpha^{i_{1}} & \alpha^{i_{2}} & \ldots & \alpha^{i_{m}} \\ \vdots & \vdots & \ddots & \vdots \\ \alpha^{i_{1}(m-1)} & \alpha^{i_{2}(m-1)} & \ldots & \alpha^{i_{m}(m-1)} \end{array} \right],\\ D&=\left[ \begin{array}{cccc} e_{i_{1}}\alpha^{i_{1c}} & 0 & \ldots & 0 \\ 0 & e_{i_{2}}\alpha^{i_{2}c} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & e_{i_{m}}\alpha^{i_{m}c} \end{array} \right], \end{aligned} $$

where V is a Vandermonde matrix. Since α is a non-primitive bnth root of unity in \(\phantom {\dot {i}\!}F_{2^{bs}}\) and i 1,…i m are distinct integers in {0,…,b n−1}, we have \(\phantom {\dot {i}\!}\alpha ^{i_{1}},\ldots,\alpha ^{i_{m}}\) are all distinct. Hence, detV≠0. Further, \(e_{i_{1}},\ldots,e_{i_{m}}\) are all non-zero and hence detD≠0. Therefore, detS≠0 and linear system (2) have a unique solution.

We have assumed that the number of positions where an error has occurred is mt. If the actual number of error positions is less than m, then for any choice of distinct positions i 1,…i m , the coefficients \( e_{i_{1}},\ldots,e_{i_{m}}\) cannot be all zero. So, detD=0. Hence, m is the greatest positive integer ≤t such that system (2) has a unique solution. Therefore, we find the value of m by taking successively m=t,t−1,… in system (2) until we have a value for which system (2) has a unique solution, which gives us the error locator polynomial \(f\left (x^{ \frac {a}{b}}\right)=f_{0}+f_{1}\left (x^{\frac {a}{b}}\right)+f_{2}\left (x^{\frac {a}{b} }\right)^{2}+\ldots +f_{m-1}\left (x^{\frac {a}{b}}\right)^{m-1}+\left (x^{\frac {a}{b}}\right)^{m}.\) Now, to find the roots of \(f\left (x^{\frac {a}{b}}\right),\) we put \(x^{\frac {a}{b}}=\alpha ^{i},\) i=0,1,…. By the definition of \(f\left (x^{\frac {a}{b}}\right),\) these roots are \( \alpha ^{i_{1}},\ldots,\alpha ^{i_{m}}.\phantom {\dot {i}\!}\) Thus, we find the unique solution for the unknowns i 1,…i m . Having thus found the error vector e, we decode the received vector a as the codeword v =a e.

To compute the syndrome of a binary BCH code, we have S 2=(S 1)2,S 6=(S 3)2 and so on. We can compute the syndrome more easily by using the division algorithm. If \(m(x^{\frac {a}{b}})\) is the minimal polynomial of α, then S 1=a (α) can be obtained by finding the remainder on dividing \(a^{\prime }\left (x^{\frac {a}{b}}\right)\) by \(m\left (x^{\frac {a}{b}}\right)\) and then putting \(x^{\frac {a}{b}}=\alpha \) in it. In general, to find S j , we divide \(a^{\prime }\left (x^{\frac {a}{b}}\right)\) by \(m\left (x^{\frac {a}{b }}\right)\) and find the remainder.

The decoding of the code C n from the decoding of the code C bn can be obtained as ; take \(x^{\frac {a}{b}}=y,\) which gives x a=y b. In this way, the code polynomial \(v(x^{\frac {a}{b}})\) in \(F_{2}[\!x;\frac {a}{b}\mathbb {Z}_{\geq 0}]_{\textit {bn}}\) becomes v (y). Again on replacing y by y b, we get v (y b)=v (x a). The remainder after dividing v(x a) by (x a)n−1, will be the decoded vector of \(F_{2}\left [x;a\mathbb {Z}_{\geq 0}\right ]_{n}\) and the generator polynomial g(x a) divides v(x a).

The above discussion can be sumed up in the following steps.

  • Step I: For binary non-primitive BCH code C bn with designed distance d , let \(a\left (x^{\frac {a}{b}}\right)\) be the received polynomial with m errors, where mt 2.

  • Step II: Compute the syndromesand find the value of m, such that the system (2) has a unique solution.

  • Step III: Step II gives us the error locator polynomial \(f\left (x^{\frac { a}{b}}\right).\) Now, find the roots of \(f\left (x^{\frac {a}{b}}\right)\) through which we obtain the error polynomial \(e\left (x^{\frac {a}{b}}\right).\vspace *{-4pt}\)

  • Step IV: We decode the received polynomial \(a^{\prime }\left (x^{\frac {a}{ b}}\right)\) as \(v^{\prime }\left (x^{\frac {a}{b}}\right)=a^{\prime }\left (x^{\frac {a}{b}}\right)-e\left (x^{ \frac {a}{b}}\right).\)

  • Step V: The code vector v in C n can be dragged out from the decoded code vector v in C bn by putting \(x^{\frac {a}{b}}=y\) in corresponding code polynomial \(v^{\prime }\left (x^{\frac {a}{b}}\right)\). This gives \( v^{\prime }\left (x^{\frac {a}{b}}\right)=v^{\prime }(y).\) Again by replacing y by y b, we get v (y)=v (y b)=v (x a).

  • Step VI: Divide v (x a) by (x a)n−1, the remainder v(x a) will be in \(F_{2}[\!x;a \mathbb {Z} _{\geq 0}]_{n},\) and the generator polynomial g(x a) divides v(x a). Then, its corresponding vector vC n .

Illustration

Let C 45 be a (45,29) binary non-primitive BCH code with design distance d =4. Assume that \(a^{\prime }\left (x^{\frac {2}{3}}\right)=1+\left (x^{ \frac {2}{3}}\right)+\left (x^{\frac {2}{3}}\right)^{3}+\left (x^{\frac {2}{3}}\right)^{7}+\left (x^{\frac {2}{3} }\right)^{11}+\left (x^{\frac {2}{3}}\right)^{12}+\left (x^{\frac {2}{3}}\right)^{13}+\left (x^{\frac {2}{3} }\right)^{16}+\left (x^{\frac {2}{3}}\right)^{44}\) is the received polynomial. The error position m=2 and the syndromes are S 1=a (α)=α 2, S 2=(S 1)2=α 4, S 3=a (α 3)=α 30 and S 4=(S 2)2=α 8. The error locator polynomial is given by \(f\left (x^{\frac {2}{3}}\right)=f_{0}+f_{1}\left (x^{\frac {2}{3}}\right)+\left (x^{ \frac {2}{3}}\right)^{2}.\) Then, we have the following system of equations for f 0 and f 1.

$$\left[ \begin{array}{cc} \alpha^{2} & \alpha^{4} \\ \alpha^{4} & \alpha^{30} \end{array} \right] \left[ \begin{array}{cc} f_{0} \\ f_{1} \end{array} \right] = \left[ \begin{array}{c} \alpha^{30} \\ \alpha^{8} \end{array} \right], $$
$$\left[ \begin{array}{c} f_{0} \\ f_{1} \end{array} \right] = \left[ \begin{array}{cc} \frac{\alpha^{30}}{\alpha^{14}} & \frac{\alpha^{4}}{\alpha^{14}} \\ \frac{\alpha^{4}}{\alpha^{14}} & \frac{\alpha^{2}}{\alpha^{14}} \end{array} \right] \left[ \begin{array}{c} \alpha^{30} \\ \alpha^{8} \end{array} \right] = \left[ \begin{array}{c} \alpha^{10} \\ \alpha^{2} \end{array} \right]. $$

Hence, the error locator polynomial is \(f\left (x^{\frac {2}{3}}\right)=\alpha ^{10}+\alpha ^{2}\left (x^{\frac {2}{3}}\right)+\left (x^{\frac {2}{3}}\right)^{2}.\) Trying successively x=1,α,α 2,…, we find that α 11 and α 44 are the roots. Hence, the error polynomial is \(e(x^{\frac {2}{3}})=\left (x^{\frac {2}{3}}\right)^{11}+(x^{\frac {2}{3}})^{44}.\) Thus, we decode \(a^{\prime }\left (x^{\frac {2}{3}}\right)\) as \(v^{\prime }\left (x^{\frac {2}{3}}\right)=a^{\prime }\left (x^{\frac {2}{ 3}}\right)+e\left (x^{\frac {2}{3}}\right)=\left (x^{\frac {2}{3}}\right)^{16}+\left (x^{\frac {2}{3}}\right)^{13}+\left (x^{ \frac {2}{3}}\right)^{12}+\left (x^{\frac {2}{3}}\right)^{7}+\left (x^{\frac {2}{3}}\right)^{3}+\left (x^{\frac {2}{3 }}\right)+1.\) Now, letting \(x^{\frac {2}{3}}=y,\) this gives y 3=x 2, we get

$$\begin{array}{@{}rcl@{}} v^{\prime }\!(y^{3}) &\!=&\!\!\left(y^{3}\right)^{16}\!+\left(y^{3}\right)^{13}\!+\left(y^{3}\right)^{12}\!+\left(y^{3}\right)^{7}\!+\left(y^{3}\right)^{3}\,+\,\left(y^{3}\right)\!+1 \\ v^{\prime}\left(x^{2}\right)\!&=&\!\left(x^{2}\right)^{16}\!+\left(x^{2}\right)^{13}\,+\,\left(x^{2}\right)^{12}\!+ \left(x^{2}\right)^{7}\,+\,\left(x^{2}\right)^{3}\!+\left(x^{2}\right)\,+\,1. \end{array} $$

After dividing v (x 2) by (x 2)15−1, we obtain the remainder v (x 2) as

$$v^{\prime}(x^{2})=(x^{2})^{13}+(x^{2})^{12}+(x^{2})^{7}+(x^{2})^{3}+(x^{2})+1\in C_{15}, $$

where C 15 is primitive binary BCH code (15,11) and it is due to the reason that the generator polynomial g(x 2)=(x 2)4+(x 2)+1 divides v (x 2).

5 Conclusions

These are the following pronouncements of the study.

  1. 1)

    The existence of a non-primitive BCH code in \(F_{2}\left [x;\frac {a}{b} \mathbb {Z} _{0}\right ]_{\textit {bn}}\) of length bn based on a primitive BCH code of length n has been explained.

  2. 2)

    The construction technique of bn length non-primitive BCH code is given in such a manner that the binary BCH code C n is embedded in the binary BCH code C bn and thus the the transmitted data configurated through C n can be received through binary BCH code C bn .

  3. 3)

    The binary BCH code C bn has higher code rate and error correction capability than binary BCH code C n along with a burst error correction capability.

This work can further be extended over the Galois field \(F_{2^{m}}\phantom {\dot {i}\!}\) and has applications in cognitive radio. Further, these results can be generalized to data mining.