<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Binary Quasi Equidistant and Reflected Codes in Mixed Numeration Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Evgeny Beletsky</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anatoly Beletsky</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>, av. Cosmonaut Komarov</institution>
          ,
          <addr-line>03680, Kiev</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Key terms. Research</institution>
          ,
          <addr-line>CodingTheory, MathematicalModelling</addr-line>
        </aff>
      </contrib-group>
      <fpage>311</fpage>
      <lpage>328</lpage>
      <abstract>
        <p>The problem of constructing quasi equidistant and reflected binary Gray code sequences and code in a mixed factorial, Fibonacci and binomial numeration systems is considered in the article. Some combinatorial constructions and machine algorithms synthesis sequences, based on the method of directed enumeration are offered. For selected parameters of sequences all quasi equidistant (for individual cases - reflected) codes with Hamming distance equal to 1 are found.</p>
      </abstract>
      <kwd-group>
        <kwd />
        <kwd>Reflected codes</kwd>
        <kwd>quasi equidistant sequence</kwd>
        <kwd>Hamming distance</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Coding theory is one of the most important areas of modern applied mathematics.
Beginning of the formation of mathematical coding theory dates back to 1948, when
it was published a famous article by Claude Shannon [1]. The growth of codes
originally was stimulated by tasks of communication. Later constructed codes found many
other applications. Now codes are using to protect data in a computer memory,
cryptography, data compression, etc.</p>
      <p>The work is devoted to a rather small, but extremely important for applications
subset of so-called quasi-equidistant and reflected codes. The class of quasi
equidistant codes are sequences of uniform (i.e., containing the same number of bits) of
binary code combinations in which any adjacent (neighboring) code sets (words) are at
the same Hamming d distance equal to a fixed number of natural numbers (i.e. d =
1, 2, …) [2]. Equidistant sets include such codes in which any two words (code
combinations) are at the same distance d [3].</p>
      <p>Finally, we shall refer to the reflected subset quasi equidistant codes with distance
d =1, the formation of which is based on the principle of mirror reflection? [4]. But if
we restrict ourselves to only one mirror, the code sequence will contain the original
sequence, after which is the same sequence just re-written in reverse order, which is
unacceptable, since it leads to code repetition. The elimination of repetition can be
provided by initial expansion of the number of digits combinations. The essence of
the "mirror" reflection of the expansion is explained below as an example of
canonical reflected Gray codes and in other sections of this article.</p>
      <p>The main objective of this study is to develop algorithms for constructing
quasiequidistant and reflected binary Gray codes as well as code sequences in a mixed
factorial, Fibonacci and binomial bases. The method of direct enumeration is the base
of algorithms of computer sequences synthesis.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Basic of Number System</title>
      <p>The history of discrete mathematics and computer science is directly related to the
development and introduction of newer principles of representation and encoding
digital information, which are based on the numeration system of numbers. By a
numeration system we understand the way of image sets of numbers using a limited set
of characters that form its alphabet, in which the characters (elements of the alphabet)
are located in the established order, occupying a certain positions [5]. Any numeration
system should be composed of a finite set of non-negative numbers — a range that it
encodes. It always includes the number 0 and then follows the natural numbers
starting with 1 [6].</p>
      <p>There are various numeration system (as well as methods for their classification),
whose number is constantly growing. All systems can be divided into the following
main classes: positional, not positional and mixed. In the positional numeration
systems the same numeric characters (digit) has different meanings in its description
depending on the location (level) where it is resides.</p>
      <p>
        By positional numeration system is generally understood the p numeration system,
which is defined by an integer p  1 — is called a base of numeration system.
Unsigned integer N in p numeration system is represented as a finite linear
combination of powers of
digits of the number. The simplest examples of positioning systems (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) can be binary,
decimal, and other numeration systems.
      </p>
      <p>In no positional numeration systems the value which indicated by the digit does
not depend on the position in a number. At the same time the system may impose
restrictions on the position of numbers, for example, that they are in descending order.
The Roman and many other systems belong to not positional systems.</p>
      <p>The mixed numeration system is a generalization of the p system, and often refers
to the positional numeration systems. The base of mixed numeration system is an
increasing sequence of numbers pk , k  1, 2, , and each N number is presented
like linear combination:
n
N   k pk ,</p>
      <p>k1
there are some restrictions exist for k coefficient.</p>
      <p>One of the known examples of the mixed system is a factorial numeration system,
in which the bases are the sequence of factorials pk  k! . Another commonly used
Fibonacci numeration system is a system that is based on Fibonacci numbers. The
Binomial system in the form in which it is presented in the relevant section of this
article, we will also include to a mixed numeration system.</p>
      <p>A positive integer is depicted in an arbitrary numeration system as a sequence of
symbols  N   nn1k 21, where  N  - the number representation in this
numeration system, besides each k symbol takes rk bit in general case (if binary
alphabet is using).</p>
      <p>
        Note the following general characteristics of quasi equidistant codes with
Hamming distance d  1 . Let’s agree each code sequence starts with zero code. And as
result of this agreement the following code after the zero code should be placed with
weights 1 and 2, and Further weight codes must alternate even (E) — odd (O) under
the scheme
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
012OEOE E(O) .
      </p>
      <p>0  (ne  no )  1 ,</p>
      <p>
        Scheme (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) is a symbolic form of the tree sequence code combinations. Let’s ne
and no to be the amount of even and odd code words in a sequence. If the sequence
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) ends up with odd code combination this means ne  no , and if even —
ne  no  1 . This becomes evident:
      </p>
      <p>Statement 1. Inequality
is a necessary (but not always sufficient) condition for the construction of quasi
equidistant codes.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Sequences of Gray Codes</title>
      <p>Classic Gray codes [7] may be called canonical, since for arbitrary length sequence of
combinations are not only quasi equidistant, but also reflected. Let’s G(n) 
sequence of n-bites classical Gray codes. To construct (n  1)  bites reflected Gray
Codes, let’s us note as Grc (n  1)  codes, it is just enough to prefix for each source
code G(n) the 0 digit and 1 to the left of code group G R (n) constructed by reflected
(reflex or reverse) mirror of G(n) sequence, i.e.</p>
      <p>
        Grc (n  1)  0G(n) ||1G R (n) ,
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
where || - is a symbol of concatenation (conjunction of sequences).
      </p>
      <p>
        According to (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ), Grc (n  1)  G(n  1) and as a result sequences of Gray codes
of G(n) number of digits n  2 are both quasi equidistant and reflected, and besides
the line of reflection goes through 2n1  and (2n1  1)  code combinations. On the
basis of the canonical code G(n) , n  2 , the equidistant Gray codes can be
constructed. For example, Tab. 1 show the three 12-bit code quasi equidistant sequences,
one of which corresponds to the canonical version of the Gray code.
      </p>
      <p>The first six variants of sequences in the table constructed of canonical option 1 as
a result of a variety column rearrangement saving the Hamming distance d  1 of
related code combinations. Variants 7-12 are formed as a result of inverse none zero
rearrangements of code combinations from appropriate variants 1-6.</p>
      <p>
        The first six variants of sequences in the table constructed of canonical option 1 as
a result of a variety column rearrangement saving the Hamming distance d  1 of
related code combinations. Variants 7-12 are formed as a result of inverse none zero
rearrangements of code combinations from appropriate variants 1-6. As follows from
Tab. 1 the only variants 1 (canonical) and 6 of Gray codes belong to a set of three
bites reflected codes. At the same time each three bite sequence by (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) statement
produce subset of four bite reflected Gray codes. Thereby it is true:
      </p>
      <p>Statement 2. All amounts L(оGт ) (n) of reflected Gray codes of n number of digits is
defined by</p>
      <p>n, if n  2;
L(rGc) (n  1)  </p>
      <p> 2n!, if n  3.</p>
    </sec>
    <sec id="sec-4">
      <title>Factorial Sequence</title>
      <p>
        The integer positive number N in factorial number of numeration system can be
represented as
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
(
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
n
N   k k !, 0  k  k
      </p>
      <p>
        k 1
where k  1, 2,, n; 0  k  k. Extended form of (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) statement is
      </p>
      <p>N  n  n!  n1  (n 1)!   2  2!  1 1! ,</p>
      <p>
        Statement (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) is so called numerical, or digital, function [8] of factorial system.
There are first 120 decimal numbers (Tab. 2) defined by their k coefficients in
factorial numeration system.
      </p>
      <p>Let’s mark Ф(k )  sequence of n bite factorial codes. In the case where number of
digits of code combination from code set Ф(k ) less than k , it is prefixed with required
amount of zeros. Let’s Фd (k )  sequence of quasi equidistant k  bite factorial codes
with Hamming distances among related combinations equal to d . Based on data from
Tab. 2 it is easy to create (Tab. 3) sequences Ф1(k ) for k  1 (singular case), and also
k  2 and k  3 created by columns rearrangement of base sequences (variant 1).</p>
      <p>
        Let’s discuss the problem of synthesis of quasi equidistant factorial codes with a
number of digits n  4, 7 . So taking the data from Tab. 3 let’s construct a preliminary
weights distribution of n  bite code combinations resulting in Tab. 4. The amount of
codes with even and odd weights in current table for all variants n are satisfying
inequality (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) and this means, that all required conditions for quasi equidistant
factorial codes creation are met.
Schema (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) of uniform codes Ф(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) weights interchanges, according to Tab. 4, is
(
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
      </p>
      <p>
        At that from 5 odd elements (O) of sequence (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) two elements are equal 3 and the
rest – 1. Which means, that there are ten possible variants of quasi equidistant
factorial code trees of number of digits n  4 , from whose the one, for depiction, is shown
on Fig. 1.
      </p>
      <p>
        The symbolic form of the tree of code combination sequence Ф1(
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) can be
represented by schema
012OEOEOEOEOEOEOEOEOEOEO ,
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
One of variants is shown on Fig. 2.
      </p>
      <p>
        Let’s go to validation to the whole amount of trees variants Ф1(
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) . First of all pay
attention (Fig. 2) the code combinations with weight of 4 must reside between codes
with weights equal 3. This is required to provide a distance between related
combinations equal to 1. Merge code pairs with weights equal to 3 among whose code with
weights equal to 4 are reside. By that we can get rid of two code pairs with weights 3
and 4 in column n  5 Tab. 4 and schema (
        <xref ref-type="bibr" rid="ref8">8</xref>
        ) rewrite as
012O2O2O2O2O2O2O2O2O .
(
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
      </p>
      <p>
        There are group of nine odd (O) code combinations which contains four codes with
weight equal to 1 and five with weight equal to 3 in the schema (
        <xref ref-type="bibr" rid="ref9">9</xref>
        ). It is evident the
126 variant of not complete trees of sequence Ф1(
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) exists, equal to number of nine
by four combinations. And now take into consideration that in each of 126 variants of
symbolic form (
        <xref ref-type="bibr" rid="ref9">9</xref>
        ) because of the operation, inversed to “merge” operation described
above, it is possible to restore entire schemas of trees (
        <xref ref-type="bibr" rid="ref8">8</xref>
        ). Because of 10 possible
methods of inverse operation means the entire amount of trees Ф1(
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) construction
equal to 1260. Performing by the same method validation of amount of trees LФ (
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
of Ф1(
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) sequences we get LФ (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) =1513512. With increasing of number of digits n
the complexity of combinatorial validation LФ (n) and amount of trees Ф1(n)
dramatically increases. For example, all 10 variants of trees Ф1(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) are shown in Tab. 5.
      </p>
      <p>In correspondence with a schema of sixth tree variant (Tab. 5) the first two code
sequences, which will be called layers of tree branch, choose 0000 and 0001 codes.</p>
      <p>
        We could choose 0010 layer instead of 0001. The third layer to choose would be a
code with weight equal to 2, the one which consist of 0001 code with Hamming
distance equal to 1. Suitable ones are codes in columns with 1, 2 and 4 numbers of Tab.
6. The code with smaller number will be considered as a base, the rest – alternative.
Keep moving the same way with codes choosing for Ф1(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) sequence, using the
schema of chosen tree, we have a Tab. 7.
      </p>
      <p>The ninth layer of tree under synthesis should be a code with weight equal to 2,
moreover it must reside from previous code with distance equal to 1.</p>
      <p>
        But there is no such a code, which were not used in Tab. 6. In order to cope with
this deadlock we will do the following. We will go up through columns of and will do
a substitution in this row with a nearest alternative code located from the right of it. In
this case we should substitute base code 0011 with alternative code 0101 and
afterwards continue the synthesis procedure for Ф1(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) . An example of quasi equidistant
codes Ф1(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) synthesized by method of direct enumeration is shown in Tab. 8.
      </p>
    </sec>
    <sec id="sec-5">
      <title>Fibonacci Sequences</title>
      <p>Fibonacci codes are generalized concept of classical binary code [9]. Any
nonnegative integer N  0, 1, 2, … can be exclusively represented by a numerical
Fibonacci function</p>
      <p>N  nFn  n1Fn1   k Fk 2F2  1F1 .</p>
      <p>
        Besides the sequence { k } in (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) doesn’t contain pairs of neighbor unities which
are provided by equivalent conversion called “folding’ operation: 011  100 . This
operation makes it possible to represent Fibonacci number as so called “minimal”
form, the code combination of which will have minimal weight.
      </p>
      <p>For example, [10],</p>
      <p>01111011001  10011100001  10100100001 .</p>
      <p>
        The codes which are underlined in example (
        <xref ref-type="bibr" rid="ref11">11</xref>
        ) are codes for which folding
operation was performed. As it follows from this example the folding operations resulted in
weights decreasing of code combinations. Namely, the amount of units in the final
code is less than in the original one.
      </p>
      <p>
        Using the folding operation it is easy to come to a representational algorithm of
multidigit binary Fibonacci numbers. As an example let’s consider a method of
representation of natural sequence of decimal numbers (including zero) by four digits
numbers of Fibonacci codes. We need to agree to label code numbers from right to
left assuming the smaller (the very right) number the correspond to number 1, then
number 2 and so on. We choose such a coding method of first three decimal numbers
0, 1 and 2:
(
        <xref ref-type="bibr" rid="ref10">10</xref>
        )
(
        <xref ref-type="bibr" rid="ref11">11</xref>
        )
(
        <xref ref-type="bibr" rid="ref12">12</xref>
        )
010  0000 ;
110  0001 ;
210  0010.
      </p>
      <p>
        A conversion from decimal number k10 to (k  1)10 number in Fibonacci codes
(label them as Fk and Fk 1 correspondingly) will be performed using a rule: if there is
0 in a smaller position Fk then it is substituted with 1 in Fk 1 code. If there is 1 in a
smaller position Fk then this 1 goes to the second position and writes as 0 in a
smaller position. This rule is using in system (
        <xref ref-type="bibr" rid="ref12">12</xref>
        ) while conversion from F1 to F2 .
      </p>
      <p>Let’s represent number 310 with Fibonacci code. But before we go, following the
rule described above we will get code 310  00011 which by folding operation would
be represented in its minimal form</p>
      <p>
        According to statements (
        <xref ref-type="bibr" rid="ref12">12</xref>
        ) and (13), the smaller positions of Fibonacci codes are
using for decimal numbers 1, 2 and 3 representations correspondingly. Those values
are generalized by the following recurrent block synthesis algorithm of binary
Fibonacci sequences. Let’s F (k )  is a set of Fibonacci numbers of the same length
including 0. Then we have:
      </p>
      <p>Statement 4. A set of k  bite Fibonacci numbers of the same length is defined by
recurrent correlation</p>
      <p>F (k )  10 || F (k  2) .
310  0100.
(13)
(14)</p>
      <p>The proving of just formulated statement can be easily performed by a method of
direct verification. In the right part of (14) the F (k  2) set is consisted of (k  2) 
position numbers.</p>
      <p>From this it is followed that if any subset of Fibonacci numbers, included in
F (k  2) , contain digits the number of digits of whose are less than k  2 then those
numbers are prefixed with required amount of zeros. Algorithm (14) is right for any
value k  2 . Indeed, if k  2 then</p>
      <p>
        F (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )  10 || F (0) .
      </p>
      <p>
        As long as F (0) set is empty then F (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) set contains the only Fibonacci digit 10,
which corresponds to decimal digit 210 .
      </p>
      <p>
        There are Fibonacci codes for limited sequence of decimal numbers calculated
using recurrent formula considering initial condition (
        <xref ref-type="bibr" rid="ref12">12</xref>
        ) in Tab. 9. Zeros, which are
located to the left of bigger unit in Fibonacci coders, have been removed.
      </p>
      <p>You can see values n in column F of Tab. 9, equal to number of codes which
can be created by a fixed number of binary positions. For example, F  3 means the
four bite combinations, which contain 1 in its older position, can be created three
Fibonacci codes. Writing down the values from F column we will get sequence 1, 1,
2, 3, 5, 8, 13,… which is classical sequence of Fibonacci numbers.</p>
      <p>Now go to estimation of variants of quasi equidistant Fibonacci code trees. For this
purpose based on data from Tab. 9 let’s create a preliminary table of distribution of
code combinations weights, included in F (k ) , k  4, 7 , (Tab. 10). By analysis of
data from Tab. 10 we have the following conclusion. Quasi equidistant sequences of
four digit Fibonacci numbers are end up with code combinations with weight of 1,
five or six number of digits with weight of 2 and seven numbers of digits with odd
weight equal to 1 or 3.
0
1
2
3
4
5
6
7
8
9
10
11
12
k10</p>
      <p>Fk</p>
      <p>F</p>
      <p>It is not that complicated to perform a calculation LF (k ) of quantity of variants for
quasi equidistant Fibonacci sequence F1(k ) trees.</p>
      <p>The result of this calculation for chosen k parameters is shown in Tab. 11.
For reflected Fibonacci codes it is right the following</p>
      <p>Statement 5. A set of even k bite reflected Fibonacci codes is defined by recurrent
correlation</p>
      <p>Фот (k )  00F1(k  2)  10F1R (k  2) ,
where F1R (k )  sequence is inversed to F1(k ) , i.e. the sequence of quasi equidistant
codes F1(k ) written in reverse order.</p>
      <p>
        As an example (Tab. 12) of calculated using a computer a branch of one tree
F1(
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) .
(15)
      </p>
    </sec>
    <sec id="sec-6">
      <title>Binomial Sequences</title>
      <p>There are many known methods for binomial codes creation and based on them –
binomial sequences [11]. We will consider two ways of even binomial codes synthesis
in this unit. First of them we will call an “algorithm A. Borysenko”, and the second
one an “algorithm of A. Beletsky”, which is called as alternative algorithm here in
after.</p>
      <p>The whole idea of first algorithm of uneven binary binomial codes, which correlate
to algorithm of full summarized binomial arithmetic, is described in [12], page 124.
Of course any uneven binary code can be converted to even code of n number of
digits (length). For this purpose it is just enough to prefix the code combination such
amount of zeros so the common number of digits became equal to n .</p>
      <p>To construct algorithms of binomial arithmetic by Borysenko it is enough to define
two parameters k and n, the first one defines the maximal amount of units in codes,
the second one by value r  n 1 , defines the maximal length of uneven binomial
number. A decimal zero in Borysenko’s binomial code is written down as l  n  k of
zeros, the range P of binomial numbers is defined by formula Fmax  P  1 . Here are
a number of examples of binomial numbers Bx (algorithm A. Borysenko), creation
whose correspond to decimal value x (Tab. 13).</p>
      <p>Statement 6. Direct and inverse binomial sequences are linked with correlation
B(n, k )  BR (n, n  k ) ,
where BR (n, n  k )  sequence of binomial codes, which first of all is written in
reverse order to codes in B(n, k ) and secondly each position of BR (n, n  k ) forms by
result of inversion (i.e. substitution of 0 to 1 and vice versa) of corresponding
positions B(n, k ) .</p>
      <p>
        Let’s find out a possibility of quasi equidistant codes B1(n, k ) creation based on
set of binomial numbers B(n, k ) . For this purpose using the data from Tab. 13 lets
create a table of code combination weights distribution (Tab. 14) included in B(n, k )
set. According to data from Tab. 14 and also values ne and no comparison, received
for many other parameters n and k , we can conclude the inequality (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) for codes
B(n, k ) is not true and as sequence it is true
Statement 7. Binomial codes do not form quasi equidistant sequences.
Let’s move to creation of alternative binomial codes. Introduce numeric function
B  nCnn  n1Cnn11   kCkk   1C1 1

(15)
where
      </p>
      <p> k 
Clk    
 l 
k  (k  1)(k  1  l)</p>
      <p>,
l!
- binomial coefficient which is equal to number of k and l combinations. The
coefficients k are defined by a correlation k  0, k / 2 , in which x means
rounding of number x to the nearest integer above.</p>
      <p>Series (15) is presented in form of binary coefficients k for each of who’s the
limited number of positions equal to number of digits and required for binary value
k / 2 representation is assigned.</p>
      <p>Coefficient unambiguously defines the value of monomial kCkk , as it is shown in
Tab. 15 (in which for example purpose the value k  7 is chosen).</p>
      <p>1
7
7
N
4
5
6
7
8
Even
Odd
In all
Sign</p>
      <p>
        As an example check Tab. 18, where results of quasi equidistant codes creation by
a method of direct enumeration based on one of trees for B(
        <xref ref-type="bibr" rid="ref2 ref4">4, 2</xref>
        ) is shown.
      </p>
      <p>
        A feature of alternative binomial codes is that they do not allow creating quasi
equidistant codes in a full manner as it is visible from Tab. 18. In particular, for all
sequences shown in Tab. 18, the latest codes (highlighted) reside from previous codes
with a Hamming distance equal 3 but not 1, as it is required for sequence B1(
        <xref ref-type="bibr" rid="ref2 ref4">4, 2</xref>
        ) .
This feature of alternative binomial codes is visible in all possible variants B1(n, r) .
6
      </p>
    </sec>
    <sec id="sec-7">
      <title>Conclusions</title>
      <p>The main result of this research is formation of generalized conditions for quasi
equidistant and reflected codes existence which are produced by even consistent binary
code combinations in a mixed numeration systems. Except of Gray codes the
Fibonacci, factorial and binomial codes with Hamming distance between related code
combinations equal to 1, are also included in a set of such codes. The main method
for synthesis of quasi equidistant codes is a method of computer direct enumeration.
The results of this research can be easily generalized and applied for cases where
Hamming distance is more than 1.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Shannon</surname>
          </string-name>
          , C. T.:
          <source>A Mathematical Theory of Communication. Bell. Syst. Tech. J.</source>
          ,
          <volume>27</volume>
          ,
          <fpage>379</fpage>
          -
          <lpage>423</lpage>
          ,
          <fpage>623</fpage>
          -
          <lpage>656</lpage>
          (
          <year>1948</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Efimenko</surname>
            ,
            <given-names>V. V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Karpjuk</surname>
            ,
            <given-names>B. V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stukalin</surname>
            ,
            <given-names>Iu. A.</given-names>
          </string-name>
          :
          <article-title>An Algorithm for Synthesis of Binary Quasi Equidistant Codes</article-title>
          .
          <source>Journal of Acad. Sience</source>
          ,
          <string-name>
            <surname>USSR</surname>
          </string-name>
          , AVTOMETRIJA,
          <volume>5</volume>
          ,
          <fpage>109</fpage>
          -
          <lpage>115</lpage>
          (
          <year>1968</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bogdanov</surname>
            ,
            <given-names>G. T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zinovjev</surname>
            ,
            <given-names>V. A.</given-names>
          </string-name>
          <string-name>
            <surname>Todorov</surname>
          </string-name>
          , T. J.:
          <article-title>On the Construction of Quasi Equidistant Codes</article-title>
          .
          <source>Journal of Problems of Information Transmission</source>
          ,
          <volume>43</volume>
          (
          <issue>4</issue>
          ),
          <fpage>13</fpage>
          -
          <lpage>36</lpage>
          (
          <year>2007</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Beletsky</surname>
            ,
            <given-names>A. Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beletsky</surname>
            <given-names>E. A.</given-names>
          </string-name>
          :
          <article-title>Quasi Equidistant Codes</article-title>
          .
          <source>NAU Publishing</source>
          , Kiev (
          <year>2008</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Banja</surname>
            ,
            <given-names>E. N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Selivanov</surname>
            ,
            <given-names>V. L.</given-names>
          </string-name>
          :
          <article-title>About the Features of the Construction of Various Number Systems</article-title>
          .
          <source>Journal of NTUU "KPI" Informatics, Management and Computer Science</source>
          ,
          <volume>49</volume>
          ,
          <fpage>68</fpage>
          -
          <lpage>73</lpage>
          (
          <year>2008</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Borysenko</surname>
            ,
            <given-names>A. A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cherednychenko</surname>
          </string-name>
          , V. B.:
          <article-title>Number Systems in Computing. Bulletin of the SSU</article-title>
          , Engineering Series,
          <volume>4</volume>
          ,
          <fpage>162</fpage>
          -
          <lpage>177</lpage>
          (
          <year>2009</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Grey</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Pulse Code Communication, Pat</article-title>
          . USA, №
          <volume>2632058</volume>
          (
          <year>1953</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Borysenko</surname>
            ,
            <given-names>A. A.: Discrete</given-names>
          </string-name>
          <string-name>
            <surname>Mathematic</surname>
          </string-name>
          .
          <source>Textbook publishing house SSU</source>
          (
          <year>2007</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Stahov</surname>
            ,
            <given-names>A. P.</given-names>
          </string-name>
          : Codes of Golden Proportion.
          <source>Radio Communication</source>
          , Moscow (
          <year>1984</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Stahov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          : Fibonacci Codes, http://goldenmuseum.com/1010FibCodes_rus.html
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Zanten</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Ja</surname>
          </string-name>
          .
          <article-title>: Binomial System and Enumerations of Combinatorial Objects</article-title>
          .
          <source>Journal of Discrete Analysis and Operations Research, Series 1. 6</source>
          ,
          <fpage>12</fpage>
          -
          <lpage>18</lpage>
          (
          <year>1999</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Borysenko</surname>
            ,
            <given-names>A. A.</given-names>
          </string-name>
          :
          <article-title>Binomial Count</article-title>
          .
          <article-title>Theory and practice</article-title>
          .
          <source>Publishing house SSU</source>
          (
          <year>2004</year>
          )
          <article-title>(In Russian)</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>