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.
Similar content being viewed by others
References
R. T. Gregory,The use of finite-segment p-adic arithmetic for exact computation, BIT 18 (1978), 282–300.
R. T. Gregory,Error-free computation with rational numbers, BIT 21 (1981), 194–202.
G. H. Hardy and E. M. Wright,An Introduction to the Theory of Numbers, Fourth Ed. (1960), Clarendon Press, Oxford.
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.
Author information
Authors and Affiliations
Rights 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
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF01937322