English

On binary codes with distances $d$ and $d+2$

Combinatorics 2024-02-22 v1

Abstract

We consider the problem of finding A2(n,{d1,d2})A_2(n,\{d_1,d_2\}) defined as the maximal size of a binary (non-linear) code of length nn with two distances d1d_1 and d2d_2. Binary codes with distances dd and d+2d+2 of size n2d2(d2+1)\sim\frac{n^2}{\frac{d}{2}(\frac{d}{2}+1)} can be obtained from 22-packings of an nn-element set by blocks of cardinality d2+1\frac{d}{2}+1. This value is far from the upper bound A2(n,{d1,d2})1+(n2)A_2(n,\{d_1,d_2\})\le1+{n\choose2} proved recently by Barg et al. In this paper we prove that for every fixed dd (dd even) there exists an integer N(d)N(d) such that for every nN(d)n\ge N(d) it holds A2(n,{d,d+2})=D(n,d2+1,2)A_2(n,\{d,d+2\})=D(n,\frac{d}{2}+1,2), or, in other words, optimal codes are isomorphic to constant weight codes. We prove also estimates on N(d)N(d) for d=4d=4 and d=6d=6.

Keywords

Cite

@article{arxiv.2402.13420,
  title  = {On binary codes with distances $d$ and $d+2$},
  author = {Ivan Landjev and Konstantin Vorob'ev},
  journal= {arXiv preprint arXiv:2402.13420},
  year   = {2024}
}

Comments

9 pages

R2 v1 2026-06-28T14:55:11.589Z