Left to Solve
Problems / MathOverflow (not formalized)

Values $1 < a < p - 1$ such that $\mathrm{ord}_{p^2}(a) = 5$

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

Statement

The minimum of , as ranges over primes and , equals . The proof is fairly straightforward:

• If , then must be divisible by . However, clearly .

• Orders 3 and 4 follow similar logic, except replace with and .

As for order 5, it's quite easy to find examples (even mentally, I dare say) - one need not look long before finding and .

A further computer search also produces the pair .

Are there any additional examples of pairs with prime, , and ?

(Note: one may reduce the search space by observing that necessarily , hence must have units digit . However, this condition alone does not appear to make the search substantially easier.)

Posed by William Hu · nt.number-theory, prime-numbers, congruences

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

import Mathlib

/-!
# Values $1 < a < p - 1$ such that $\mathrm{ord}_{p^2}(a) = 5$

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_508509