varshamov-tenengolts-code · research · also VT code, Binary VT code, Varshamov-Tenengolts codes

Varshamov-Tenengolts code

A binary Varshamov-Tenengolts code groups fixed-length bit strings by a weighted-sum congruence to correct one deleted or inserted bit.

Related Observatory article: Varshamov-Tenengolts code on hesela.com

For n bits and a fixed residue a, VT_a(n) contains strings satisfying sum(i*x_i) = a modulo n+1, with positions i numbered from 1. The sum uses ordinary integers, not XOR. The decoder must know n and a. Sloane describes the construction and single-deletion decoder. [1]

A deletion shortens the observation without marking its missing coordinate. An erasure preserves a known coordinate. These are different decoder inputs. Recovering the original string need not identify which identical bit in a run disappeared; racetrack read models illustrate this distinction. [3]

The binary condition does not directly extend to nucleotide values 0,1,2,3. Nguyen et al. give 213 and 132: both weighted sums are 13, yet either can lose a symbol to produce 13. Nonbinary VT constructions need additional or different constraints. [2]

Decoding: Let w count received ones and let d = (a - sum(i*y_i)) modulo n+1 be the checksum deficiency. If d <= w, insert 0 with d ones to its right; otherwise insert 1 with d-w-1 zeros to its left. This requires a linear scan, not enumeration of the codebook. A returned word still assumes the correct block length, residue and one-deletion model. [1]

Relations

related
Error-correcting code, Symbol erasure, Racetrack position error, DNA data storage

Limitations

  • One deletion OR one insertion is not a guarantee for a deletion plus an insertion, two deletions, or a substitution. [2]
  • This mathematical family alone does not establish a complete DNA-storage codec, biochemical constraints or measured recovery rates. [2]

Citations

  1. N. J. A. Sloane. On Single-Deletion-Correcting Codes (revised 7 November 2002), sections 1-2, equation (4). (accessed 2026-11-06)
  2. Nguyen, Cai and Siegel. Differential VT Codes and Differential Shifted VT Codes, arXiv:2311.04578v1 (2023), sections II-III. (accessed 2026-11-06)
  3. Yeow Meng Chee et al. Coding for Racetrack Memories, arXiv:1701.06874v1 (2017), sections I-II. (accessed 2026-11-06)
Sources & caveats
  • Source-based mathematical definition. Status research describes the storage applications covered here, not the maturity of the theorem.
  • Hesela's bounded binary enumeration and counterexamples are available at https://hesela.dev/research/vt-code/example.json with example.py and test_example.py; they are not media measurements or an all-length proof.

JSON: /data/terms/varshamov-tenengolts-code.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Varshamov-Tenengolts code. Hesela. 2026-11-06. https://hesela.dev/terms/varshamov-tenengolts-code/