Topics
Follow your own topics →
DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

When will the decimals in a/b repeat?

18 · John Cook · June 27, 2026, 6:24 p.m.
Math Number theory Harmonic Numbers Decimal Representation mathematics coding
Summary
The blog post explores the periodicity of decimal representations in fractions related to harmonic numbers, building on a previous discussion. It includes code implementations to investigate the repeating cycles in the decimal expansion of fractions.
Read full post on www.johndcook.com →
MORE POSTS LIKE THIS
Factorial
Vicente G. Reyes · Dec 29, 2025
Python beginners
Counting permutations with roots
John Cook · Jul 27, 2026
Math Combinatorics
Two more apps: visualizing the zeta process and the motions of the heavens
Terence Tao · Jul 17, 2026
expository math.NT
​◦୦◦◯◦୦◦⊚⚪⊚◦୦◦◯◦୦◦​᪣​🞊​᪣​𝆯​᪣​🞊​᪣​ ​᪣​🞊​᪣​𝆯​᪣​🞊​᪣​◦୦◦◯◦୦◦⊚⚪⊚◦୦◦◯◦୦◦​
⠀   ᯽ ᯽   ⠀ · Jun 14, 2026
oo mathematics
Fourier series in Mathematica
Leancrew · Jun 8, 2026
Fourier Series Mathematica
Knowing about things is cheaper than knowing things
Hillel Wayne · May 28, 2026
programming mathematics
Discover more posts →
AUTHOR
BLOG POST FEATURED ON

Placeholder image
Hacker News

1 points

Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google