Proving Kimberling's harmonic-floor conjecture

2026-10-25 [home]

This page contains generated content delineated using this shadowing style.

A108211 is the sequence a(n)=16n2+1, starting at n=1:

17,65,145,257,401,577,….

A conjecture of Clark Kimberling from September 2014 gives a different way to obtain these integers:

For every n≥1,

⌊114n-log2+H2n-Hn⌋=16n2+1.

Here Hn=1+1/2+⋯+1/n is the nth harmonic number, log is the natural logarithm, and ⌊x⌋ rounds x down to an integer. For example, at n=1 the denominator is 3/4-log2, whose reciprocal lies between 17 and 18.

This conjecture is true. The proof compiles using only propext, Classical.choice, and Quot.sound.

Proof

The definition and theorem statement below omit the proof body:

def a (n : ℕ) : ℕ := 16 * n ^ 2 + 1

theorem kimberling_conjecture (n : ℕ) (hn : 1 ≤ n) :
    ⌊(1 : ℝ) / (1 / (4 * (n : ℝ)) - Real.log 2 +
      ∑ k ∈ Icc (n + 1) (2 * n), (1 : ℝ) / k)⌋
      = (a n : ℤ)

Here Icc (n + 1) (2 * n) includes both endpoints, so the sum is 1/(n+1)+⋯+1/(2n), exactly H2n-Hn. The index k simply runs through those denominators, replacing OEIS's written-out sum without changing its value. The divisions take place in the real numbers, and the floor is an integer. The hypothesis hn restricts the claim to n≥1, matching the sequence's first index.

Write the denominator as

xn=14n-log2+H2n-Hn.

It is enough to prove

116n2+2<xn<116n2+1.

Taking reciprocals will then put 1/xn strictly between the consecutive integers 16n2+1 and 16n2+2.

Comparing consecutive terms

Subtracting consecutive terms cancels log2 and almost all of the harmonic sums:

xn-xn+1&=14n-14(n+1)+1n+1-12n+1-12n+2 &=14n(n+1)(2n+1).

Also, Hm-logm converges to the Euler–Mascheroni constant. Consequently,

xn=14n+(H2n-log(2n))-(Hn-logn)⟶0.

Now introduce the two comparison sequences

Ln=116n2+2, Un=116n2+1.

Both tend to zero. Their consecutive differences trap the difference of xn:

Ln-Ln+1<xn-xn+1<Un-Un+1 (n≥1).

These are exact rational inequalities. To check them, put Dn=4n(n+1)(2n+1). Direct subtraction gives

(Un-Un+1)-1Dn=32n2+32n-17Dn(16n2+1)(16(n+1)2+1)>0

and

1Dn-(Ln-Ln+1)=36Dn(16n2+2)(16(n+1)2+2)>0.

Every denominator is positive, and both numerators are positive for n≥1.

From differences to bounds

The upper comparison says

xn-Un<xn+1-Un+1.

Thus xn-Un is strictly increasing. Since it converges to zero, every term must be negative: A nonnegative term would force all later terms to stay above some positive value. Hence

xn<Un=116n2+1.

Similarly, the lower comparison says

xn-Ln>xn+1-Ln+1.

This difference is strictly decreasing to zero, so every term is positive. Therefore

116n2+2=Ln<xn.

In particular, xn>0. Taking reciprocals reverses the inequalities and gives

16n2+1<1xn<16n2+2.

Rounding down proves

⌊1xn⌋=16n2+1 (n≥1).

Source

The source code for this proof can be found on my GitHub.

AI Disclosure

These results were obtained primarily using a mix of Anthropic, OpenAI, and open weight models in a private benchmark using a bespoke harness.