/ / Article

Research Article | Open Access

Volume 2014 |Article ID 971410 | https://doi.org/10.1155/2014/971410

Pankaj Kumar Das, "Weight Distribution of Periodic Errors and Optimal/Anti-Optimal Linear Codes", Journal of Mathematics, vol. 2014, Article ID 971410, 5 pages, 2014. https://doi.org/10.1155/2014/971410

# Weight Distribution of Periodic Errors and Optimal/Anti-Optimal Linear Codes

Accepted14 Aug 2014
Published31 Aug 2014

#### Abstract

The paper discusses weight distribution of periodic errors and then the optimal case on bounds of parity check digits for (, ) linear codes over that corrects all periodic errors of order in the first block of length and all periodic errors of order in the second block of length and no others. Further, we extend the study to the case when the errors are in the form of periodic errors of order (and ) or more in the two subblocks.

#### 1. Introduction

In coding theory, many types of error patterns have been considered, and codes accordingly are constructed to combat such error patterns. Periodic errors are one type of error patterns that are found in channels like astrophotography , gyroscope and computed tomography . Such error occurs due to happening of disturbances periodically. So, there is a need to study such errors and to develop codes dealing with such errors. It was in this spirit that codes detecting/correcting such errors were studied by Das and Tyagi [3, 4]. A periodic error of order is defined as follows.

Definition 1. A periodic error of order is a vector whose nonzero components are located at shifting positions in a code vector where and the number of its starting positions is among the first components.

For , the periodic errors of order 1 are the vectors where error may occur in 1st, 3rd, 5th, , positions or 2nd, 4th, 6th, …, positions. For example, in a vector of length 8, periodic errors of order 1 are of the type 10101000, 00101000, 0010101, 10101010, 10001010, 01010101, 01000101, 00000101, 00000001, and so forth.

For , the periodic errors of order 2 may look like 10010010, 10000010, 00010010, 01001001, 01000001, 01000000, 00001001, and so forth in a vector of length 8.

Perfect codes are the best codes among the linear codes since the parameters satisfy the Sphere-Packing (or Hamming) bound [5, 6]. It was a big challenge for mathematician to search for such codes for several years in the past. It was finally established that there are no perfect codes other than the single error correcting Hamming  codes, double and triple error correcting Golay codes , and the Repetitive codes (refer to Tietavainen , Tietavainen and Perko , and van Lint ).

By perfect codes we mean the linear codes that are capable of correcting all t or fewer errors and no others.

Thereafter several attempts were given to find codes that are not perfect in the usual sense but that correct certain type of error pattern and no more. Such codes are called optimal codes. Sharma and Dass  were the first who attempted to find such codes. In paper , Dass and Tyagi explored a new type of binary optimal codes. Similar kind of perfect codes is also studied in .

Further, mathematicians also started to find codes that are opposite in nature to perfect codes. Those codes are called anti-perfect codes. In this direction, an attempt is given in paper  by Sharma et al. These codes correct all errors and more and no others.

In view of these studies, this paper presents linear optimal codes over that correct all periodic errors of order in the first block of length and all periodic errors of order in the second block of length and no others. Then the study has been extended to the case when the errors in the first block of length are in the form of order or more and the errors in the second block of length are in the form of order or more and no others. They are called anti-optimal codes.

This paper also presents the weight structure of periodic errors in the space of -tuples over . The study of weight structure for different types of error patterns is of considerable interest to many researchers. Various results are obtained in this direction (e.g., [15, 16]).

The paper is organized as follows. Section 1 is the introduction. In Section 2, we present minimum weight and weight structure of periodic errors in the space of -tuples. In Section 3, we study optimal codes that correct all periodic errors of order in the first block of length and all periodic errors of order in the second block of length and no others. Section 4 presents the study of anti-optimal codes mentioned above.

#### 2. Weights of Periodic Errors

In coding theory, an important criterion is to look for minimum weight and structure of weight in a group of vectors. Our following theorems (which are equivalent to Plotkin bound , also Theorem  4.1, Peterson and Weldon ) are results in that direction. The weight of a vector is considered in Hamming’s sense.

Lemma 2. Let denote the total weight of all periodic errors of order in the space of all -tuples over . Then, where ().

Proof. We first count the total number of periodic errors of order with weight in the space of all -tuples.
Consider a periodic error of order . The number of positions in which periodic error of order can occur is where   () and (refer to Tyagi and Das ). So, the total number of periodic errors of order with weight is given by Then,

Theorem 3. The minimum weight of a periodic error of order in the space of -tuples is at most where , .

Proof. The number of periodic errors of order in the space of -tuples over is given by By using Lemma 2, the total weight of all periodic errors of order is given by Since the minimum weight element can have at most the average weight, an upper bound on the minimum weight of periodic errors of order is given by

During the process of transmission, periodic disturbances cause occurrence of periodic errors. But it is quite possible that all the periodic components in such periodic errors may not be affected; that is, some digits are received correctly while others get corrupted. In view of this, we have the following results for periodic errors with weight or less (without proof).

Lemma 4. Let denote the total weight of all periodic errors of order which are of weight or less in the space of all -tuples. Then, where , .

Theorem 5. The minimum weight of a periodic error of order which is of weight or less in the space of -tuples is at most where , .

#### 3. Optimal Codes

Das  has studied the linear code over that corrects all periodic errors of order in the first block of length and all periodic errors of order in the second block of length as follows.

Theorem 6. The number of parity check digits for an linear code over that corrects all periodic errors of order in the first block of length and all periodic errors of order in the second block of length always satisfies where and ().

Considering the equality of inequality (10) gives us the optimal case; that is, where , , , .

We now give an example of a linear code over that corrects all periodic errors of order 2 in the first block of length 6 and all periodic errors of order 1 in the second block of length 4 and no other errors.

Example 7. By putting , , , and over , equality (11) gives rise to () linear code. Consider the following matrix: The code obtained from the above matrix as a parity check matrix is a () linear code. This code can correct all periodic errors of order 2 in the first block of length 6 and all periodic errors of order 1 in the second block of length 4 and no others. We list in Table 1 all the error vectors and their corresponding syndromes which can be seen to be all distinct and exhaustive.

 Error patterns Syndromes Error patterns Syndromes 100100 0000 1100 000001 0000 0101 010010 0000 1001 000000 1010 0011 001001 0000 1111 000000 0101 1011 100000 0000 1000 000000 1000 0010 010000 0000 1110 000000 0100 0110 001000 0000 1010 000000 0010 0001 000100 0000 0100 000000 0001 1101 000010 0000 0111

#### 4. Anti-Optimal Codes

In this section, we will obtain bound on linear code over that corrects all periodic errors of order or more in the first block of length () and all periodic errors of order or more in the second block of length () and no other errors. Taking the bound tight, we obtain anti-optimal codes. The codes are anti-optimal codes in the sense that they correct all periodic errors of order or more in the first block of length and all periodic errors of order or more in the second block of length and no others. First we prove the following lemma.

Lemma 8. If (where  ) denotes the number of periodic errors of order or more over the space of all -tuples over , then where and .

Proof. For , there will be no common errors among the periodic errors of order or more except the single errors. Let be the number of periodic errors of order . Then, (refer to Tyagi and Das ).
Therefore where
Let . Since any periodic error of order is a periodic error of order , therefore we have Let . Since represents the single errors and all single errors present in periodic errors of any order, so by counting the number of periodic errors of order or more, we take the value of up to . Also, any periodic error of order is a periodic error of order . Hence

Theorem 9. The number of parity check digits for an linear code over that corrects all periodic errors of order or more in the first block of length () and all periodic errors of order or more in the second block of length () and no other error patterns is at least where and are given in Lemma 8.

Proof. This proof is based on counting the number of errors above specific type and comparing with the available cosets in the linear code over .
By Lemma 8, we have the following.(a)The number of periodic errors of order or more in the first block of length is .(b)The number of periodic errors of order or more in the second block of length is .
Therefore, the total number of errors including the zero vector is Thus Hence the proof of Theorem 9 is complete.

Now the equality of inequality (21) gives us the optimal case. By considering the equality in (21), we get For and , (22) becomes

Example 10. For , , and , (23) gives rise to binary () linear code. The code whose parity check matrix is given below is a periodic error correcting anti-optimal code that corrects all periodic errors of order 2 or more in the first block of length 3 and all periodic errors of order 2 or more in the second block of length 6 and no others. Consider It can be verified from the error pattern syndromes shown in Table 2.

 Error patterns Syndromes Error patterns Syndromes 100 000000 1110 000 001001 1111 010 000000 1011 000 100010 1001 001 000000 1110 000 010001 0111 000 100000 1000 000 100001 1101 000 100100 1100 000 000100 0100 000 010000 0010 000 000010 0001 000 010010 0011 000 000001 0101 000 001000 1010

Example 11. For , , and , (23) gives rise to binary () linear code. The code whose parity check matrix is given below is a periodic error correcting anti-optimal codes in two blocks that correct all single errors in the first block of length 6 and all periodic errors of order 3 or more in the second block of length 9 and no more. It can also be verified by the error pattern syndrome table. Consider

#### Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

The author would like to thank referees for their careful reading of the paper and for their valuable suggestions.

1. “Astrophotography mounts: periodic error correction,” http://www.themcdonalds.net/richard/index.php?title=Main_Page. View at: Google Scholar
2. V. Tyagi and A. Tyagi, “Periodic error correcting perfect codes,” International Journal of Computer and Information Technology, vol. 2, no. 5, pp. 603–607, 2013. View at: Google Scholar
3. P. K. Das and V. Tyagi, “Codes on s-periodic errors,” Ratio Mathematica—Journal of Applied Mathematics, vol. 22, pp. 61–68, 2012. View at: Google Scholar
4. V. K. Tyagi and P. K. Das, “s-alternate error correcting linear code,” Journal of Combinatorics, Information & System Sciences, vol. 35, no. 1-2, pp. 17–26, 2010. View at: Google Scholar
5. R. W. Hamming, “Error detecting and error correcting codes,” The Bell System Technical Journal, vol. 29, pp. 147–160, 1950. View at: Publisher Site | Google Scholar | MathSciNet
6. W. W. Peterson and J. Weldon, Error-Correcting Codes, MIT Press, Cambridge, Mass, UK, 2nd edition, 1972. View at: MathSciNet
7. M. J. E. Golay, “Notes on digital coding,” Proceedings of the IRE, vol. 37, p. 657, 1949. View at: Google Scholar
8. A. Tietavainen, “On the non-existence of perfect codes over finite fields,” SIAM Journal on Applied Mathematics, vol. 24, no. 1, pp. 88–96, 1971. View at: Google Scholar
9. A. Tietavainen and A. Perko, “There are no unknown perfect binary codes,” Annales Universitatis Turkuensis A, vol. 148, pp. 3–10, 1971. View at: Google Scholar
10. J. H. van Lint, “A survey of perfect codes,” The Rocky Mountain Journal of Mathematics, vol. 5, pp. 199–224, 1975.
11. B. D. Sharma and B. K. Dass, “Adjacent-error correcting binary perfect codes,” Journal of Cybernetics, vol. 7, no. 1-2, pp. 9–13, 1977. View at: Google Scholar
12. B. K. Dass and V. K. Tyagi, “A new type of (1, 2)-optimal codes over GF(2),” Indian Journal of Pure and Applied Mathematics, vol. 13, no. 7, pp. 750–756, 1982. View at: Google Scholar | MathSciNet
13. P. K. Das, “(1, 3) Optimal linear codes on solid bursts,” International Journal of Information Security Science, vol. 1, no. 4, pp. 106–111, 2012. View at: Google Scholar
14. B. D. Sharma, B. K. Dass, and S. N. Gupta, “A sufficient condition for the existence of high-density burst correcting linear codes,” Indian Journal of Pure and Applied Mathematics, vol. 8, no. 7, pp. 816–820, 1977. View at: Google Scholar
15. B. D. Sharma and B. K. Dass, “On weight of bursts,” in Proceedings of the 38th Annual Conference of IMS, Bhopal, India, 1972. View at: Google Scholar
16. B. D. Sharma and B. Rohtagi, “Some results on weights of vectors having $m$-repeated bursts,” Cybernetics and Information Technologies, vol. 11, no. 3, pp. 3–11, 2011. View at: Google Scholar | MathSciNet
17. M. Plotkin, “Binary code with specified minimum weight,” IRE Transactions on Information Theory, vol. 6, pp. 440–450, 1960. View at: Google Scholar
18. P. K. Das, “Bounds on codes correcting periodic errors blockwise,” International Journal of Informatics and Communication Technology, vol. 2, no. 1, pp. 51–56, 2013. View at: Google Scholar

#### More related articles

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.