repeatingdigit
A repeating digit is a digit that appears in the infinite, repeating part of the decimal expansion of a rational number. In base 10, numbers are either terminating decimals, which end after a finite number of digits, or repeating decimals, which continue forever with a recurring block of digits.
In a repeating decimal, the digits that form the recurring block are called the repetend, and the
Mathematical notes: If a fraction p/q is in lowest terms, its decimal expansion terminates if and only