#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
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
Closest harmonic number to an integer
1
·
John Cook
·
Nov. 20, 2025, 1:39 a.m.
Math
Harmonic Numbers
mathematics
algorithms
problem-solving
Summary
This blog post discusses finding the value of n such that the harmonic number Hn is closest to a given integer m. It builds on previous content about harmonic numbers and aims to solve two specific problems related to this concept.
Read full post on www.johndcook.com →
MORE POSTS LIKE THIS
Derivative equals inverse
John Cook ·
Jun 30, 2026
Math
Differential equations
The Zone
Blog Computationalcomplexity ·
Jun 25, 2026
mathematics
problem-solving
My Mathematical Regression
Dahl's Blog ·
Jun 19, 2026
Python
mathematics
◦୦◦◯◦୦◦⊚⚪⊚◦୦◦◯◦୦◦᪣🞊᪣𝆯᪣🞊᪣ ᪣🞊᪣𝆯᪣🞊᪣◦୦◦◯◦୦◦⊚⚪⊚◦୦◦◯◦୦◦
⠀ ᯽ ᯽ ⠀ ·
Jun 14, 2026
oo
mathematics
Modular Arithmetic Challenge
Terence Tao ·
Jun 8, 2026
math.NA
Alberto Alfarano
synchronization of buckets filling and emptying
Graphthinking Blogspot ·
May 24, 2026
llm
mathematics
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google