Some fractions are terminating decimals, like ; some are periodic, with repeating digits in cycles, like ; and some are eventually periodic, like . The plot shows the number of digits in the base expansion of fractions with denominators up to and including , with the numerator varying from 1 to .