Mapping integers and hensel codes onto Farey fractions
暂无分享,去创建一个
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.
[1] Robert Todd Gregory. The use of finite-segmentp-adic arithmetic for exact computation , 1978 .
[2] E. Wright,et al. An Introduction to the Theory of Numbers , 1939 .
[3] Robert Todd Gregory. Error-free computation with rational numbers , 1981 .
[4] E. V. Krishnamurthy,et al. Finite segmentp-adic number systems with applications to exact computation , 1975 .