Next Article in Journal
Abnormal Traffic Detection System Based on Feature Fusion and Sparse Transformer
Previous Article in Journal
A Software Reliability Model Considering a Scale Parameter of the Uncertainty and a New Criterion
Previous Article in Special Issue
How to Find the Equivalence Classes in a Set of Linear Codes in Practice?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Perfect Codes over Non-Prime Power Alphabets: An Approach Based on Diophantine Equations

by
Pedro-José Cazorla García
Department of Mathematics, University of Manchester, Manchester M13 9PL, UK
Mathematics 2024, 12(11), 1642; https://doi.org/10.3390/math12111642
Submission received: 29 April 2024 / Revised: 17 May 2024 / Accepted: 21 May 2024 / Published: 23 May 2024
(This article belongs to the Special Issue Codes, Designs, Cryptography and Optimization, 2nd Edition)

Abstract

:
Perfect error-correcting codes allow for an optimal transmission of information while guaranteeing error correction. For this reason, proving their existence has been a classical problem in both pure mathematics and information theory. Indeed, the classification of the parameters of e-error correcting perfect codes over q-ary alphabets was a very active topic of research in the late 20th century. Consequently, all parameters of perfect e-error-correcting codes were found if e 3 , and it was conjectured that no perfect 2-error-correcting codes exist over any q-ary alphabet, where q > 3 . In the 1970s, this was proved for q a prime power, for q = 2 r 3 s and for only seven other values of q. Almost 50 years later, it is surprising to note that there have been no new results in this regard and the classification of 2-error-correcting codes over non-prime power alphabets remains an open problem. In this paper, we use techniques from the resolution of the generalised Ramanujan–Nagell equation and from modern computational number theory to show that perfect 2-error-correcting codes do not exist for 172 new values of q which are not prime powers, substantially increasing the values of q which are now classified. In addition, we prove that, for any fixed value of q, there can be at most finitely many perfect 2-error-correcting codes over an alphabet of size q.

1. Introduction

1.1. Background

Error-correcting codes have been widely studied since the 1940s. Apart from their intrinsic mathematical interest, this is due to the fact that error-correcting codes have many useful applications for information transmission and engineering. For example, in [1], the authors discuss possible applications of error-correcting codes to semiconductor memory, while the classical article by Shannon [2] introduced error-correcting codes as a way to transmit information over noisy channels.
While these applications are one of the main reasons why error-correcting codes are studied, the developments in this paper will be theoretical. Throughout the article, we shall consider the following standard definition of an error-correcting code.
Definition 1.
Let q 2 , e 1 be positive integers, and let Z q be a set with q elements, which we shall call the alphabet. An e-error-correcting code C with parameters ( n , M ) is a subset of Z q n of size M and such that any two elements w ¯ 1 , w ¯ 2 C differ in at least 2 e + 1 positions.
It is a standard fact in coding theory (for example, see ([3], Theorem 2.16) that any e-error-correcting code with parameters ( n , M ) over an alphabet of size q satisfies the sphere packing bound or Hamming bound:
M j = 0 e n j ( q 1 ) j q n .
Let us briefly explain why this inequality holds. For this, let us define the set:
B ( w ¯ , d ) = { w ¯ 2 C w ¯ and w ¯ 2 differ in at most d positions } ,
where w ¯ C is fixed and d 0 is an integer. It is an easy combinatorial exercise to see that:
| B ( w ¯ , d ) | = j = 0 d n j ( q 1 ) j .
In order for a code to be an e-error-correcting code, it follows that the sets B ( w ¯ , e ) and B ( w ¯ , e ) are disjoint for w ¯ w ¯ , and therefore, we have that:
w ¯ C B ( w ¯ , e ) = M j = 0 d n j ( q 1 ) j .
Since there are precisely q n elements in Z q n , Inequality (1) follows. In the case where (1) is an equality, we say that the code is perfect. In other words, C is perfect if and only if n and M satisfy the following Diophantine equation:
M = q n j = 0 e n j ( q 1 ) j .
Perfect codes are optimal for information transmission, in the sense that they allow for the maximum possible number of words while being able to correct e errors. In other words, perfect codes are the most expressive e-error-correcting codes that are theoretically possible, and it is desirable to know whether they exist for a fixed value of q and e.
For these reasons, the classification of perfect codes was a very active topic of research in the late 20th century, and this led to the production of a vast amount of literature on the topic. The most relevant works are summarised in Table 1 and we refer the reader to [4] for a detailed survey on the history of perfect codes.
From Table 1, we immediately notice that perfect codes do exist if q is a prime power, and are either Hamming codes with the following parameters:
( n , M , e , q ) = q r 1 q 1 , q r 1 q 1 r 1 , 1 , q ,
for any r 2 , or Golay codes with the following parameters:
( n , M , e , q ) = ( 11 , 3 6 , 2 , 3 ) , ( 23 , 2 12 , 3 , 2 ) .
This was proved by Tietäväinen [5], and independently by Leontiev and Zinoniev [6]. Therefore, if q is a prime power, perfect codes do exist and are completely classified for any value of e 1 .
However, as is apparent from Table 1, the situation when q is not a prime power is quite different. In this case, all the existing results are negative for any values of e and q. This has led many authors to conjecture (see for example [4], [Section 5]) the following.
Conjecture 1.
Let q 6 be a non-prime power. Then, there are no perfect error-correcting codes over Z q .
In Table 1, we see that the combination of the works of Reuvers [7], Best [8], and Hong [8] successfully proves Conjecture 1 for e-error-correcting codes, where e 3 . For e 2 , the number of results is much more scarce, and almost non-existent for e = 1 , as remarked by Heden in [4] (Section 2).
For e = 2 , as shown in the last rows of Table 1, the existing results are due to Reuvers [7], van Lint [10], and Bassalygo et al. [11]. Together, they show that perfect 2-error-correcting codes do not exist for:
q = 6 , 10 , 15 , 21 , 22 , 26 , 30 , 35 and q = 2 s 3 r ,
where r , s > 0 are positive integers. We remark that the methods used in all these papers are specific to the cases at hand and cannot be generalised to other values of q. This is probably the reason why there have been no new results in the area in more than 50 years.
Indeed, we believe that the great difficulty of dealing with the case where q is not a prime power, as well as the lack of a general methodology for these cases, justifies the scarcity of literature.
To illustrate this, we note that there is a significant amount of modern articles which aim to generalise the results in Table 1 to extended codes or to different metrics, but they always treat the case when q is a prime power. For example, under this assumption, Li and Xing [12] classified perfect quantum codes and Gubitosi, Portela, and Qureshi [13] showed analogous results for the Niederreiter–Rosenbloom–Tsfasman metric.
In conclusion, we identify a clear gap in the literature in the case e = 2 , since, apart from the family studied in [11], there are only seven values of q which are not prime powers and for which non-existence has been proved, and there have been no new results in half a century. In addition, the techniques used in the proofs cannot be generalised, which makes it difficult to extend the results to different codes or metrics.
In this paper, we address this gap in the literature by proving non-existence results for the case e = 2 and 172 new values of q, therefore substantially increasing the evidence towards Conjecture 1. In addition, our methods are theoretically valid for all values of q and the only obstructions that we encounter are of a computational nature. Consequently, it seems feasible to generalise them to other problems, and we shall comment more on this in Section 5.2.

1.2. The Main Results

For the rest of the paper, we let q 6 be a positive integer which is not a prime power. In this paper, we will prove new results related to the non-existence of perfect 2-error-correcting codes over alphabets of size q.
Since our methodology applies for q = 6 , 15 , 21 , 22 , 26 , 30 , 35 , for q = 10 , and for some cases where q = 2 r · 3 s , we shall recover the aforementioned results by Reuvers [7], van Lint [10], and Bassalygo et al. [11]. Therefore, our findings are consistent with the previously existing literature.
Our main result is the following, which covers all but two values of q 200 , as well as some values of q in the interval q [ 201 , 600 ] subject to certain additional restrictions.
Theorem 1.
Let q 6 be a positive integer which is not a prime power, satisfying any of the following conditions:
  • q 200 and q 94 , 166 ;
  • q 600 and all prime divisors of q are contained in the set { 2 , 3 , 5 , 7 , 11 } .
Then, there are no perfect 2-error correcting codes over alphabets of size q.
The values of q in the theorem are optimal given the current existing computational techniques and the methods used in this paper. We will comment more on this in Section 5.1.
The second result that we present applies to all values of q, but, instead of showing non-existence of perfect codes, it shows that there can only be finitely many perfect 2-error-correcting perfect codes over a q-ary alphabet. This is consistent with Conjecture 1, albeit much weaker.
Theorem 2.
Let q 6 be a positive integer which is not a prime power. Then, there are at most finitely many perfect 2-error-correcting codes over an alphabet of size q.
In order to prove Theorems 1 and 2, we will study the perfect code condition (5) with e = 2 . We shall see that, for a fixed value of q, it can be reduced to a Ramanujan–Nagell type equation, which we can solve effectively with the use of several techniques from computational number theory.
The history of Ramanujan–Nagell type equations is rich and has motivated a vast amount of research in the number theory community ever since Ramanujan conjectured that the Diophantine equation given by:
x 2 + 7 = 2 n ,
only had solutions for n = 3 , 4 , 5 , 7 and 15. This was proved by Mordell in 1948 [14] and led to many researchers considering generalisations of (9). We refer the reader to [15] for a detailed survey of generalisations of the Ramanujan–Nagell equation.
In order to prove Theorems 1 and 2, we shall solve a Ramanujan–Nagell type equation. If, after resolving the equation, there are any solutions ( n , M ) to (5), we can use Lloyd’s theorem to prove that they cannot constitute a perfect code.
The organisation of this paper is as follows. In Section 2, we will reduce the Hamming bound to a Ramanujan–Nagell equation and prove Theorem 2. In Section 3, we will build upon the work of von Känel and Matschke [16] in order to obtain all solutions to the previously obtained Ramanujan–Nagell equations. In Section 4, we will show that the outstanding solutions cannot form perfect codes by using Lloyd’s theorem, and therefore, prove Theorem 1. In Section 5, we shall discuss complications arising from our methodology, as well as potential future lines of work. Finally, in Section 6, we will briefly summarise our findings and explain how they overcome the shortcomings in the literature.
All computations in this paper have been carried out with the use of Magma [17] code. The code is available for the reader in the author’s GitHub repository (https://github.com/PJCazorla/perfect-q-ary-codes, accessed on 29 April 2024) and can be used to check the correctness of the computations.

2. The Hamming Bound and Ramanujan–Nagell Type Equations

We suppose that there exists a perfect 2-error-correcting q-ary code with parameters ( n , M ) . In order to avoid trivial codes, we shall assume that n 5 and M 2 . Then, it follows from the perfect code condition (5) with e = 2 that:
1 + n ( q 1 ) + n ( n 1 ) 2 ( q 1 ) 2 M = q n .
Let q 1 , , q k denote the prime divisors of q. By (10), M q n and, consequently, there is a solution ( n , n 1 , , n k ) Z k + 1 to the following Diophantine equation:
1 + n ( q 1 ) + n ( n 1 ) 2 ( q 1 ) 2 = q 1 n 1 q k n k ,
with n 5 and where q 6 is fixed. Now, let us introduce some notation. Let x and D q be given by the following expressions:
x = 2 n ( q 1 ) + 3 q and D q = 8 ( q 3 ) 2 .
Multiplying (11) by 8 and completing the square, we see that the existence of a perfect 2- error-correcting code over a q-ary alphabet implies that there exists a solution ( x , n 1 , , n k ) Z k + 1 to the Diophantine equation:
x 2 + D q = 8 q 1 n 1 q k n k .
Let A denote the set of positive integers supported only on { q 1 , , q k } , so that:
A = { q 1 α 1 q k α k α 1 , , α k 0 } .
Clearly, the Diophantine Equation (13) can be rewritten as:
x 2 + b = c y ,
where x Z , y A , b = D q , and c = 8 . This is an example of a generalised Ramanujan–Nagell equation, as considered by von Känel and Matschke in [16]. We can immediately use their work to prove Theorem 2.
Proof of Theorem 2. 
By Corollary K. [16], it follows that there are at most finitely many solutions to any generalised Ramanujan–Nagell equation such as (15) and, consequently, there are at most finitely many solutions to (13), showing that there can only be finitely many perfect 2-error-correcting q-ary codes for a fixed value of q.
For the convenience of the reader, we shall give a different proof of the fact that (15) has finitely many solutions. This proof will allow us to fix notation and will be insightful for our work in Section 3.
Without loss of generality, we can assume that gcd ( c , q 1 q k ) = 1 . This is because any powers of q 1 , , q k present in c can be absorbed into y without altering the number of solutions of (15). Then, we can write:
c = c 0 c 1 3 and y = y 0 y 1 3 ,
where c 0 , c 1 , y 0 , y 1 Z with c 0 and y 0 cubefree. We note here that:
c 0 y 0 { c 0 q 1 a 1 q k a k 0 a 1 , , a k 2 } .
We define d and z by:
d = c 0 y 0 and z = c 1 y 1 ,
so that (15) can be rewritten as:
x 2 + b = d z 3 .
Let ( x , z ) Z 2 be a solution to the previous equation and let ( X , Y ) be given by:
X = d z and Y = d x .
Then, ( X , Y ) is an integral point on the Mordell curve:
E d : Y 2 = X 3 d 2 b .
By the work of Siegel [18], these curves have finitely many integral points. In addition, since the set in (17) is finite, there are only finitely many curves E d to consider. Consequently, there are at most finitely many solutions to (15), finishing the proof.    □
From the definition of x and D q given in (12), we note that x and D q are even precisely when q is odd. Therefore, we can define:
x = x 2 and D q = D q 2 .
In these cases, we can divide (13) by 4 and obtain the following equation, which, computationally, is slightly easier to solve:
( x ) 2 + D q = 2 q 1 n 1 q k n k .
If we let b = D q and c = 2 , this is another instance of a generalised Ramanujan–Nagell equation in the form of (15). We shall present an algorithm for resolving these equations in Section 3.

3. Resolving the Diophantine Equations

As we explained in Section 2, the existence of a perfect 2-error-correcting code over a q-ary alphabet implies the existence of a solution ( x , y ) to the generalised Ramanujan–Nagell Equation (15). In this section, we shall present an algorithm to solve this type of equations. Our algorithm is based on [16] (Algorithm 6.2).
As we discussed in the proof of Theorem 2, we can reduce the resolution of (15) to the determination of all integral points ( X , Y ) on a finite number of Mordell curves E d . Then, by (16), (18), and (20), we may recover the original solutions x and y via the expressions:
x = Y d and y = d c 0 X c 1 d 3 .
In order to compute the integral points on the Mordell curves E d , we distinguish two cases. Following [16] (Section 4.1), we define a S by:
a S = 1728 p p min { ord p ( b d 2 ) , 2 } ,
where the product is taken over all primes p and ord p ( . ) denotes the standard p-adic valuation. If a S < 500 , 000 , we can use [16] (Algorithm 4.2) to compute all integral points very efficiently. This restriction is due to the fact that the algorithm requires the computation of all elliptic curves of conductor N a S . If a S < 500000 , these curves have been computed by Cremona [19], and thus, the necessary computational effort is minimal.
In the case where a S 500 , 000 , our code computes the integral points by using Magma’s function IntegralPoints, which is based upon the use of linear forms in complex and p-adic elliptic logarithms (for a reference, see [20]). In this case, the main computational difficulty lies in the fact that a Mordell–Weil basis for E d needs to be computed, which, in general, is very hard. We introduce two tricks to mitigate this difficulty.
Firstly, we note that the question of determining the rank r of E d is highly non-trivial. However, by the work of Kolyvagin [21], we know that if the analytic rank of an elliptic curve is 0 or 1, its algebraic rank coincides with its analytic rank. Since computing the analytic rank is much easier computationally than computing the algebraic rank, there are substantial computational savings in these cases.
We also remark that if r = 0 , there is no need to compute any generators to the Mordell–Weil group. Similarly, if r = 1 , a generator can be found by computing Heegner points, as shown by Gross and Zagier [22]. We implement these two improvements in our code. While it could seem that these are not significant for the computation, they actually help tremendously and allow us to solve many equations which would otherwise not be amenable to our techniques.
Alternatively, we could have used the work of Bennett and Ghadermarzi [23], who computed all integral points on the Mordell curves:
E k : y 2 = x 3 + k ,
where 0 < | k | 10 7 . They use a different set of techniques, involving the resolution of cubic Thue equations. This entrails a similar level of computational complexity to our approach, and it does not introduce any substantial computational improvements.
With the presented algorithm, we are able to solve the generalised Ramanujan–Nagell equations and recover the values of n and M which could represent a perfect 2-error-correcting q-ary code. This is the content of the following lemma.
Lemma 1.
Let q 6 be a positive integer which is not a prime power satisfying either of the two conditions in Theorem 1. Then, all solutions ( n , M ) to (10) with n 5 are given in Table 2.
Proof. 
Using the algorithm that we have previously presented, we obtain all solutions ( x , y ) Z 2 to each of the generalised Ramanujan–Nagell equations. By (12), we can then recover n as:
n = x + q 3 2 ( q 1 ) ,
and obtaining M is immediate from (10). All the solutions that we found are contained in Table 2.    □

4. Dealing with the Outstanding Solutions: Lloyd’s Theorem

In order to finish the proof of Theorem 1, we need to show that none of the solutions in Table 2 can be parameters for a perfect q-ary code. For this purpose, we shall use Lloyd’s Theorem, which was originally proved by Lloyd [24] if q is a prime power. The general case was proved independently by Bassalygo [25], Delsarte [26], and Lenstra [27]. The statement of that theorem is as follows.
Theorem 3
(Lloyd). Let n , e , and q be positive integers. Suppose that there exists a perfect e-error-correcting code over a q-ary alphabet with word length n. Then, the following polynomial:
L e ( x ) = i = 0 e ( 1 ) i ( q 1 ) e i x 1 i n x e i
has e distinct integer zeros in the interval [ 1 , n ] .
Our previous work, together with Lloyd’s theorem, allow us to finish the proof of Theorem 1.
Proof of Theorem 1. 
Let q be a number satisfying the conditions in the theorem and suppose for contradiction that there exists a perfect 2-error-correcting code over a q-ary alphabet, with parameters ( n , M ) .
By our discussion in Section 2 and Section 3, along with Lemma 1, we know that the tuple ( q , n , M ) is contained in one of the rows of Table 2. By Theorem 3, it follows that the polynomial L 2 ( x ) given by:
L 2 ( x ) = ( q 1 ) 2 ( n x ) ( n x 1 ) 2 ( q 1 ) ( x 1 ) ( n x ) + ( x 1 ) ( x 2 ) 2
has two distinct integer roots x 1 , x 2 with 1 x 1 < x 2 n . However, we check with Magma that this is not the case for any of the values of q and n in Table 2. Consequently, for all the values of q in the statement of Theorem 1, there does not exist a perfect 2-error-correcting code over an alphabet of size q.    □

5. Limitations and Future Lines of Work

In this section, we shall briefly comment on the limitations of the methodology that we present in this paper, as well as propose future lines of work and different problems which could be solved by leveraging these techniques.

5.1. Limitations of Our Methodology

Firstly, we remark that our methods can show non-existence of perfect 2-error-correcting codes for a fixed value of q, but they are not able to handle infinite families of q. The main reason why is due to the fact that the coefficient D q in (13) depends on q and it would no longer be constant.
For this reason, even if the set (17) remains finite (which could be achieved by fixing the prime divisors of q, for example), we would effectively need to obtain all integral points for a family of Mordell curves E d ( q ) . In this situation, the results of Siegel [18] do not apply and, consequently, it is entirely possible that there are infinitely many integral points to consider. In addition, and to the best of our knowledge, there are no techniques that allow to determine integral points over families of elliptic curves in an effective manner. This is why we believe that, in order to prove Conjecture 1, even just for e = 2 , significantly new ideas will need to be introduced.
If we fix q, we note that, in principle, all the techniques that we have presented in this paper would be applicable for any q. However, in practice, it is computationally unfeasible to resolve (13) for values of q other than those in Theorem 1. For this reason, it is unlikely that the range of values of q can be extended much further with our methodology.
This is mainly due to the fact that, despite the computational improvements that we have introduced in Section 3, we ultimately need to find a list of generators for the group E d ( Q ) , where E d is the Mordell curve (21). As the conductor of E d grows, even finding one rational point on E d is a very hard problem and, consequently, it is impractical to compute a basis for E d ( Q ) .
To illustrate the computational difficulties, let us consider the case q = 94 = 2 · 47 . This is excluded from Theorem 1 because our methodology would require us to work with the curve:
E 2 · 47 2 : y 2 = x 3 + 161478403652 ,
which has conductor N = 16328471028588 = 2 2 · 3 3 · 47 2 · 8273 2 . While we are able to show that E 2 · 47 2 has rank 1, N is too large to apply the Heegner point methodology and, consequently, we are unable to find a generator of E 2 · 47 2 ( Q ) .
If q has a large prime divisor p, there is a slightly different problem. In this instance, and for a large q, we need to use the Magma IntegralPoints subroutine to find integral points on the Mordell curve (21). However, this relies on the use of linear forms in p-adic elliptic logarithms (see [20]) and the bounds obtained by applying this method are astronomical as p grows, which makes it impossible to find all solutions to (13). In fact, this is the main reason why we needed to exclude prime divisors larger than 13 if 200 q 600 .
Due to the high computational burden, we believe that the results that we present here cannot be significantly extended without the introduction of new algorithms to resolve the Ramanujan–Nagell Equation (13). Promising results in this direction are the newly improved estimates for linear forms in three logarithms by Mignotte and Voutier [28] and some work on the generalised Ramanujan–Nagell equation by Mutlu, Le, and Soydan [29], which, if extended, could allow for a more efficient resolution of (13).

5.2. Future Lines of Work

In this paper, we used extensively two features of perfect 2-error-correcting codes: the perfect code condition (10) and the fact that Lloyd’s Theorem (Theorem 3) applies. As long as these two conditions are satisfied, it seems plausible that our approach could generalise.
For instance, the methods that we present here could be used to approach perfect 2-error-correcting quantum codes, by mimicking this approach and changing the perfect code condition (5) by the perfect quantum code condition:
M = q n j = 0 e n j ( q 2 1 ) j .
Li and Xing [12] classified perfect quantum codes over q-dimensional qudits, where q is a prime power. In addition, they proved an analogue of Lloyd’s theorem for quantum codes. This makes the situation completely analogous to the classical case and, for this reason, it seems reasonable that the approach that we presented here would directly generalise to quantum codes.

6. Conclusions

The main findings of this paper are Theorems 1 and 2, where we show that perfect 2-error-correcting codes over q-ary alphabets do not exist for more than 170 new values of q, and show that, for a fixed value of q, there can only be a finite number of 2-error-correcting perfect codes.
In previously existing literature, no values of q with more than three prime factors were considered and, in addition, the methods used were specific to the cases at hand and could not be generalised. In addition, there have been no new results in over 50 years, showing a clear gap in the literature.
In this paper, we successfully address this gap by showing non-existence of perfect codes for some values of q with four prime factors ( q = 210 , 330 , 462 ) and provide a method which would theoretically apply to any fixed value of q, with the only existing problems arising from current computational technology. Our results improve the number of q for which 2-error-correcting codes have been classify by more than 2000%.
We remark that these results are also relevant from a practical point of view, since they show that, for many values of q, the optimal information transmission scheme while attempting to correct 2-errors cannot be that of perfect codes and, consequently, alternative schemes need to be considered in order to achieve the best possible codes.
In order to verify all computations carried out in this paper, we provide the reader with the Magma code available in the authors’s GitHub repository: https://github.com/PJCazorla/perfect-q-ary-codes (accessed on 29 April 2024), which can be used to check the correctness of Theorem 1.
Finally, we remark that our results are consistent with the existing literature in the cases where they overlap and, in addition, they support Conjecture 1, which is widely believed to be true.

Funding

The author was funded by the University of Manchester. The Article Processing Charge was also funded by the University of Manchester.

Data Availability Statement

The programs used to perform all computations are available online at https://github.com/PJCazorla/perfect-q-ary-codes (accessed on 29 April 2024).

Acknowledgments

The author would like to thank Yuri Bazlov for insightful discussions, as well as the anonymous reviewers, who provided very useful comments.

Conflicts of Interest

The author declares no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
Z Ring of integers
Q Field of rational numbers

References

  1. Chen, C.L.; Hsiao, M.Y. Error-Correcting Codes for Semiconductor Memory Applications: A State-of-the-Art Review. IBM J. Res. Dev. 1984, 28, 124–134. [Google Scholar] [CrossRef]
  2. Shannon, C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef]
  3. Hill, R. A First Course in Coding Theory, 2nd ed.; Oxford Applied Mathematics and Computing Science Series; Oxford University Press: Oxford, UK, 1986. [Google Scholar]
  4. Heden, O. On perfect codes over non prime power alphabets. Contemp. Math. 2010, 523, 173–184. [Google Scholar]
  5. Tietäväinen, A. On the nonexistence of perfect codes over finite fields. SIAM J. Appl. Math. 1973, 24, 88–96. [Google Scholar] [CrossRef]
  6. Leontiev, V.K.; Zinoviev, V.A. Nonexistence of perfect codes over Galois fields. Probl. Control Inform. Theory 1973, 2, 123–132. [Google Scholar]
  7. Reuvers, H.F.H. Some Nonexistence Theorems for Perfect Codes over Arbitrary Alphabets. Ph.D. Thesis, Eindhoven Technological University, Eindhoven, The Netherlands, 1977. [Google Scholar]
  8. Best, M. Perfect codes hardly exist. IEEE Trans. Inf. Theory 1983, 29, 349–351. [Google Scholar] [CrossRef]
  9. Hong, Y. On the nonexistence of unknown perfect 6- and 8- codes in Hamming schemes H(n,q) with q arbitrary. Osaka J. Math. 1984, 21, 687–700. [Google Scholar]
  10. van Lint, J.H. Recent results on perfect codes and related topics. In Combinatorics; Hall, M., Jr., van Lint, J.H., Eds.; Mathematical Center Tracts 55; Kluwer Academic Publishers: Breukelen, The Netherlands, 1974; pp. 158–178. [Google Scholar]
  11. Bassalygo, L.A.; Zinov’ev, V.A.; Leont’ev, V.K.; Fel’dman, N.I.I. Nonexistence of perfect codes over some composite alphabets. Probl. Peredachi Inf. 1975, XI, 3–13. (In Russian) [Google Scholar]
  12. Li, Z.; Xing, L. Classification of q-Ary Perfect Quantum Codes. IEEE Trans. Inf. Theory 2013, 59, 631–634. [Google Scholar] [CrossRef]
  13. Gubitosi, V.; Portela, A.; Qureshi, C. On the non-existence of perfect codes in the Niederreiter-Rosenbloom-Tsfasman metric. arXiv 2023, arXiv:2302.11738. [Google Scholar]
  14. Mordell, L. The Diophantine equation x2 + 7 = 2n. Nor. Mat. Tidsskr. 1948, 30, 62–64. [Google Scholar] [CrossRef]
  15. Le, M.; Soydan, G. A brief survey on the generalized Lebesgue–Ramanujan–Nagell equation. Surv. Math. Its Appl. 2020, 15, 473–523. [Google Scholar]
  16. von Känel, R.; Matschke, B. Solving S-unit, Mordell, Thue, Thue–Mahler and generalized Ramanujan–Nagell equations via Shimura–Taniyama conjecture. Mem. Am. Math. Soc. 2016, 286, 1419. [Google Scholar] [CrossRef]
  17. Bosma, W.; Cannon, J.; Playoust, C. The Magma algebra system. I. The user language. J. Symb. Comput. 1997, 24, 235–265. [Google Scholar] [CrossRef]
  18. Siegel, C.L. Einige Anwendungen diophantischer Approximationen. Abh. Preuss. Akad. Wiss. Phys. Math. Kl. 1929, 1, 41–69. [Google Scholar]
  19. Cremona, J. Algorithms for Modular Elliptic Curves; Cambridge University Press: Cambridge, UK, 1997; Available online: https://homepages.warwick.ac.uk/staff/J.E.Cremona/book/fulltext/index.html (accessed on 29 April 2024).
  20. Stroeker, R.J.; Tzanakis, N. Solving elliptic diophantine equations by estimating linear forms in elliptic logarithms. Acta Arith. 1994, 67, 177–196. [Google Scholar] [CrossRef]
  21. Kolyvagin, V. Finiteness of E( Q ) and X(E,Q) for a class of Weil curves. Math. USSR Izv. 1989, 32, 523–541. [Google Scholar] [CrossRef]
  22. Gross, B.H.; Zagier, D.B. Heegner points and derivatives of L-series. Invent. Math. 1986, 84, 225–320. [Google Scholar] [CrossRef]
  23. Bennett, M.A.; Ghadermarzi, A. Mordell’s equation: A classical approach. LMS J. Comput. Math. 2015, 18, 633–646. [Google Scholar] [CrossRef]
  24. Lloyd, S.P. Block coding. Bell Syst. Tech. J. 1957, 36, 517–535. [Google Scholar] [CrossRef]
  25. Bassalygo, L.A. Generalization of Lloyd’s theorem to arbitrary alphabet. Probl. Upr. Teor. Inf. 1973, 2, 133–137. The English translation is available in Probl. Control. Inf. Theory 1973, 2, 25–28. (In Russian) [Google Scholar]
  26. Delsarte, P. An Algebraic Approach to the Association Schemes of Coding Theory. Philips Research Rep. Suppl. 1973, 10, 97. [Google Scholar]
  27. Lenstra, H.W. Two theorems on perfect codes. Discret. Math. 1972, 3, 125–132. [Google Scholar] [CrossRef]
  28. Mignotte, M.; Voutier, P. A kit for linear forms in three logarithms. Math. Comput. 2024, 93, 1903–1951. [Google Scholar] [CrossRef]
  29. Mutlu, E.K.; Le, M.; Soydan, G. A modular approach to the generalized Ramanujan–Nagell equation. Indag. Math. 2022, 33, 992–1000. [Google Scholar] [CrossRef]
Table 1. Summary of existing results on perfect e-error-correcting codes over q-ary alphabets.
Table 1. Summary of existing results on perfect e-error-correcting codes over q-ary alphabets.
ReferenceqeMain Results
Tietäväinen [5] and
Leontiev and Zinoniev [6]
(independently)
Prime
power
≥1All perfect codes over prime power
alphabets are either Hamming
codes or have parameters ( n , M ,
e , q ) = ( 11 , 3 6 , 2 , 3 ) , ( 23 , 2 12 , 3 , 2 ) .
Reuvers [7]Non-
prime
power
3, 4, 5There are no perfect e-error
correcting codes over a q-ary
alphabet.
Best [8]7, ≥9
Hong [9]6, 8
Reuvers [7]6, 15, 21, 22,
26, 30, 35
2There are no perfect e-error
correcting codes over a q-ary
alphabet.
van Lint [10]10
Bassalygo et al. [11] 2 r · 3 s
Table 2. Solutions to (10) with n 5 and q satisfying the conditions in Theorem 1.
Table 2. Solutions to (10) with n 5 and q satisfying the conditions in Theorem 1.
qnM
1511 3 4 · 5 10
2152 3 40 · 7 52
4693 2 79 · 23 91
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Cazorla García, P.-J. Perfect Codes over Non-Prime Power Alphabets: An Approach Based on Diophantine Equations. Mathematics 2024, 12, 1642. https://doi.org/10.3390/math12111642

AMA Style

Cazorla García P-J. Perfect Codes over Non-Prime Power Alphabets: An Approach Based on Diophantine Equations. Mathematics. 2024; 12(11):1642. https://doi.org/10.3390/math12111642

Chicago/Turabian Style

Cazorla García, Pedro-José. 2024. "Perfect Codes over Non-Prime Power Alphabets: An Approach Based on Diophantine Equations" Mathematics 12, no. 11: 1642. https://doi.org/10.3390/math12111642

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop