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.

Link:

https://www.johndcook.com/blog/2026/06/27/decimal-period/

From feeds:

Statistics and Visualization » The Endeavour

Tags:

math

Authors:

John

Date tagged:

06/27/2026, 20:12

Date published:

06/27/2026, 14:12