Periodicity of p-adic Expansion of Rational Number
arXiv:2310.14869 · doi:10.28919/jmcs/5384
Abstract
In this paper we give an algorithm to calculate the coefficients of the p-adic expansion of a rational numbers, and we give a method to decide whether this expansion is periodic or ultimately periodic.