Left to Solve
Problems / MathOverflow (not formalized)

Partial harmonic-square sums modulo p^2

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

Statement

Let

It is well known that, for every prime ,

if and only if is a Wolstenholme prime.

I am interested instead in proper partial sums. Specifically:

Question. Does there exist a prime and an integer such that

Computationally, I found the example

since

and is divisible by .

I also searched all primes and found no further examples with .

Has this congruence for partial harmonic-square sums been studied? Are there any known results or references concerning the existence (or nonexistence) of such pairs ?

Update.

I extended the computation for and have now checked all primes . I did not find any new examples beyond the previously known ones.

I also investigated the analogous problem for cubic harmonic sums. Specifically, I searched for primes and indices satisfying My computations …

Posed by AEGH · nt.number-theory, prime-numbers, congruences, bernoulli-numbers

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-513357.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-513357.lean

import Mathlib

/-!
# Partial harmonic-square sums modulo p^2

Source: https://mathoverflow.net/questions/513357
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_513357

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

theorem main : sorry := by
  sorry

end OMA.S_mo_513357