When will the decimals in a/b repeat?
The Endeavour 2026-06-27
Summary:
The previous post looked at how many digits are in the reduced fraction for the nth harmonic number. I was curious about how long the cycle of digits in a harmonic number might be. I wrote about the period length for the digits of fractions almost a decade ago. This post includes code so I can […]
The post When will the decimals in a/b repeat? first appeared on John D. Cook.