Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A365688: Primitive solutions k to k^2 = u^4 + v^4 + w^4, with u, v, w > 0.

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty45/100

Statement

From Jon E. Schoenfield, Sep 28 2023: For every integer j, j^4 mod 16 = 0 if j is even, 1 if j is odd. Consequently, if k were even (which would make k^2 divisible by 4), then u,v,w would all have to be even as well, so the solution (k,u,v,w) would not be primitive. Thus every term k is odd, so k^2 mod 8 = 1, so exactly one of u,v,w is odd, and since (u^4 + v^4 + w^4) mod 16 = 1, k^2 mod 16 = 1, so k mod 8 is either 1 or 7 (not 3 or 5, because those would give k^2 mod 16 = 9). Similarly, for every integer j, j^4 mod 5 = 0 if 5 divides j, 1 otherwise, so if k were divisible by 5 (and k^2 were thus also divisible by 5), u,v,w would all likewise have to be divisible by 5, so the solution (k,u,v,w) would not be primitive. Thus no term k is divisible by 5, so k^2 mod 5 is never 0. This leaves the only possible values of k^2 mod 5 as 1 (when k mod 5 is 1 or 4) and 4 (when k mod 5 is 2 or 3). B

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

import Mathlib

/-!
# A365688: Primitive solutions k to k^2 = u^4 + v^4 + w^4, with u, v, w > 0.

Source: https://oeis.org/A365688
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_a365688

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a365688