On cyclic numbers and an extension of Midy's theorem
Cite this paper
×
@misc{gil2006on,
title = {On cyclic numbers and an extension of Midy's theorem},
author = {Juan B. Gil and Michael D. Weiner},
year = {2006},
eprint = {math/0605347},
archivePrefix = {arXiv},
primaryClass = {math.NT},
url = {https://arxiv.org/abs/math/0605347}
}
Gil, J. B., & Weiner, M. D. (2006). On cyclic numbers and an extension of Midy's theorem [Preprint]. arXiv. https://doi.org/10.48550/arXiv.math/0605347
GIL JB, WEINER MD. On cyclic numbers and an extension of Midy's theorem[EB/OL]. (2006-05-12)[2026-11-30]. https://arxiv.org/abs/math/0605347.
Abstract
In this note we consider fractions of the form 1/m and their floating-point representation in various arithmetic bases. For instance, what is 1/7 in base 2005? And, what about 1/4? We give a simple algorithm to answer these questions. In addition, we discuss an extension of Midy's theorem whose proof relies on elementary modular arithmetic.
Post #1 · the paper