A275391: Least k such that n divides sigma(k^k) (k > 0).
Statement
From Robert Israel, Aug 09 2016: a(n) <= A038700(n) if n >= 4, since sigma(k^k) == 0 (mod n) if k is an odd prime == -1 (mod n). If n is prime and n-2 is squarefree, then a(n) <= n-2 since sigma((n-2)^(n-2)) == 0 (mod n). Conjecture: a(n) <= n-2 for all n > 15, but a(n) = n-2 for infinitely many n.
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/oeis-a275391.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a275391.lean
import Mathlib /-! # A275391: Least k such that n divides sigma(k^k) (k > 0). Source: https://oeis.org/A275391 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_oeis_a275391 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a275391