<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//TaxonX//DTD Taxonomic Treatment Publishing DTD v0 20100105//EN" "../../nlm/tax-treatment-NS0.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tp="http://www.plazi.org/taxpub" article-type="research-article" dtd-version="3.0" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">109</journal-id>
      <journal-id journal-id-type="index">urn:lsid:arphahub.com:pub:3dc5f44e-8666-58db-bc76-a455210e8891</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">JUCS - Journal of Universal Computer Science</journal-title>
        <abbrev-journal-title xml:lang="en">jucs</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="ppub">0948-695X</issn>
      <issn pub-type="epub">0948-6968</issn>
      <publisher>
        <publisher-name>Journal of Universal Computer Science</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3217/jucs-021-09-1136</article-id>
      <article-id pub-id-type="publisher-id">23497</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
        <subj-group subj-group-type="scientific_subject">
          <subject>E.4 - CODING AND INFORMATION THEORY</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>A Note on Variable-Length Codes with Constant Hamming Weights</article-title>
      </title-group>
      <contrib-group content-type="authors">
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Fenwick</surname>
            <given-names>Peter</given-names>
          </name>
          <email xlink:type="simple">pmbjfw@gmail.com</email>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="A1">
        <label>1</label>
        <addr-line content-type="verbatim">The University of Auckland, Auckland, New Zealand</addr-line>
        <institution>The University of Auckland</institution>
        <addr-line content-type="city">Auckland</addr-line>
        <country>New Zealand</country>
      </aff>
      <author-notes>
        <fn fn-type="corresp">
          <p>Corresponding author: Peter Fenwick (<email xlink:type="simple">pmbjfw@gmail.com</email>).</p>
        </fn>
        <fn fn-type="edited-by">
          <p>Academic editor: </p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2015</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>01</day>
        <month>09</month>
        <year>2015</year>
      </pub-date>
      <volume>21</volume>
      <issue>9</issue>
      <fpage>1136</fpage>
      <lpage>1142</lpage>
      <uri content-type="arpha" xlink:href="http://openbiodiv.net/116F6B53-28F1-5B81-9F98-00363AC6095C">116F6B53-28F1-5B81-9F98-00363AC6095C</uri>
      <uri content-type="zenodo_dep_id" xlink:href="https://zenodo.org/record/5505541">5505541</uri>
      <history>
        <date date-type="received">
          <day>11</day>
          <month>02</month>
          <year>2015</year>
        </date>
        <date date-type="accepted">
          <day>14</day>
          <month>07</month>
          <year>2015</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>Peter Fenwick</copyright-statement>
        <license license-type="creative-commons-attribution" xlink:href="" xlink:type="simple">
          <license-p>This article is freely available under the J.UCS Open Content License.</license-p>
        </license>
      </permissions>
      <abstract>
        <label>Abstract</label>
        <p>A recent paper described a variable-length integer code based on the Goldbach conjecture where every codeword had exactly 2 1-bits but with an extremely irregular structure. A later, unpublished, work produced a much more regular code, again with a Hamming weight of 2. This paper extends that later work to weight-3 and weight-4 codes, which are shown to be competitive with more-usual codes over a useful range of values.</p>
      </abstract>
    </article-meta>
  </front>
</article>
