Skip to main content
Log in

Mapping integers and hensel codes onto Farey fractions

  • Part I Computer Science
  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

Abstract

The order-N Farey fractions, whereN is the largest integer satisfyingN≦√((p−1)/2), can be mapped onto a proper subset of the integers {0, 1,...,p−1} in a one-to-one and onto fashion. However, no completely satisfactory algorithm for affecting the inverse mapping (the mapping of the integers back onto the order-N Farey fractions) appears in the literature.

A new algorithm for the inverse mapping problem is described which is based on the Euclidean Algorithm. This algorithm solves the inverse mapping problem for both integers and the Hensel codes of Krishnamurthy et al.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. R. T. Gregory,The use of finite-segment p-adic arithmetic for exact computation, BIT 18 (1978), 282–300.

    Google Scholar 

  2. R. T. Gregory,Error-free computation with rational numbers, BIT 21 (1981), 194–202.

    Google Scholar 

  3. G. H. Hardy and E. M. Wright,An Introduction to the Theory of Numbers, Fourth Ed. (1960), Clarendon Press, Oxford.

    Google Scholar 

  4. E. V. Krishnamurthy, T. M. Rao and K. Subramanian,Finite segment p-adic number systems with applications to exact computation, Proc. Indian Acad. Sci., 81A (1975), 58–79.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Kornerup, P., Gregory, R.T. Mapping integers and hensel codes onto Farey fractions. BIT 23, 9–20 (1983). https://doi.org/10.1007/BF01937322

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01937322

Keywords

Navigation