Left to Solve
Problems / MathOverflow (not formalized)

Identity relating floor function and hexagonal numbers

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

While playing around with squares, I wondered about the sum of square roots of all natural numbers between two perfect squares(both inclusive). After taking the floor value of the expression for first few the numbers then obtained turned out to be . These are nothing but the hexagonal Numbers.

That is,

Proving it was not a bit of a task, I started with truncating the Taylor expansion of the square root function and bounding the summand as follows : Summing it all up and with little manipulation we get:

Although I'm still struggling to find a more intuitive way which directly relates the sum with the very numbers. Any ideas/suggestions are appreciated.

Posed by Amrit Awasthi · nt.number-theory, geometric-intuition

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-450392.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-450392.lean

import Mathlib

/-!
# Identity relating floor function and hexagonal numbers

Source: https://mathoverflow.net/questions/450392
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_450392

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_450392