Carry Boundaries and Bernoulli Spectra in Long Division
Choose a rule for the first few digits of a fraction, perhaps that the first and last agree. For a denominator coprime to the base, count all the smaller positive numerators whose fractions satisfy that rule. Long division changes the count when a remainder crosses the edge of a marked block. The paper separates the sawtooth contribution common to all such rules from the signed boundary belonging to the one you chose.