Back to search

University of Tennessee

P-adic number systems for error-free computation

Abstract

dc:description.abstract

<p>The structure and properties of the infinite field of p-adic numbers are examined. A simpler algorithm for finding the canonical p-adic expansion of a rational number is developed, and many expansions for various primes p are given. Several classical number theoretic results are combined to devise an algorithm for calculating the period for the infinite expansion of a rational number. Theorems concerning sign determination and the relationships between the p-adic and radix-p representations of a rational number are proved. These variable-length representations of rational numbers for digital computer use allow sign determination, magnitude comparison, error-free computation, and simple conversion from p-adic to rational form. The major disadvantages of this system are the unpredictability of storage requirements, decreased speed of computations, and the detection of periodicity in the computations.</p><p>These problems can be alleviated by considering a finite subset of the rationals F<sub>N</sub>, the order N Farey Fractions, with fixed length representations called Hensel codes (in honor of Kurt Hensel who first introduced p-adic numbers into algebraic number theory). These finite segment p-adic numbers can be obtained by truncating the infinite p-adic expansions to r digits for all rational numbers in F<sub>N</sub>, where p, r, and N are related by a specific formula which guarantees uniqueness of representation. Arithmetic operations on Hensel codes are particularly simple and error-free. It is the simplicity of division when compared to the same operation in multiple-modulus residue arithmetic which has created most of the current interest in p-adic number systems for digital computer use.</p><p>It is shown that no system of weights will enable all Hensel codes to be converted directly into order N Farey fractions. However, linear Diophantine equations can be derived which characterize all rational numbers corresponding to a given Hensel code. Furthermore, divisibility conditions and constraining inequalities can be devised for selecting the unique solution of the linear Diophantine equation in the range of allowable Farey fractions. The disadvantages of these fixed-length representations involve overflow prevention, sign determination, magnitude comparison, and the conversion from Hensel code to rational form.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Lewis, Ruth Ann.
Advisor dc:contributor.advisor
  • Robert T. Gregory

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://trace.tennessee.edu/handle/20.500.14382/53766

Chain of custody

source
Harvested from
University of Tennessee
Base URL
trace.tennessee.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
related terms
citation

Lewis, Ruth Ann.. P-adic number systems for error-free computation. 1979. https://trace.tennessee.edu/handle/20.500.14382/53766